示例#1
0
    def get(self, buttonname):
        """Exits after one tap"""
        dialog = ConfigurationDialog()
        dialog.set_args(buttonname)
        dialog.show()
        xbmc.sleep(1) # why?
        PyKeyboardEvent.run(self)
        dialog.close()

        return self.keycode, self.character
示例#2
0
    def run(self):
        """
        Will run the recorder, using a queue to place data if provided

        data_queue : The queue to place the data in
        """
        # Create the data handler to use
        self.data_handler = HDF5Handler("a", self.save_interval)

        PyKeyboardEvent.run(self)
 def run(self):
     PyKeyboardEvent.run(self)
示例#4
0
 def run(self):
     PyKeyboardEvent.run(self)
     print "end"