Example #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
Example #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)
Example #4
0
 def run(self):
     PyKeyboardEvent.run(self)
     print "end"