Ejemplo n.º 1
0
 def key_received(self, keys, state_id):
     """
     This function starts processing of the provided keys, turning them
     into macros, actions and handling repetition. The key event will be
     placed on the queue, leaving this function to return immediately
     
     Keyword arguments:
     keys            --    list of keys to process
     state_id           -- key state ID (g15driver.KEY_STATE_UP, _DOWN and _HELD)
     """
     g15scheduler.execute(self.queue_name, "KeyReceived", self._do_key_received, keys, state_id)
Ejemplo n.º 2
0
 def key_received(self, keys, state_id):
     """
     This function starts processing of the provided keys, turning them
     into macros, actions and handling repetition. The key event will be
     placed on the queue, leaving this function to return immediately
     
     Keyword arguments:
     keys            --    list of keys to process
     state_id           -- key state ID (g15driver.KEY_STATE_UP, _DOWN and _HELD)
     """
     g15scheduler.execute(self.queue_name, "KeyReceived",
                          self._do_key_received, keys, state_id)
Ejemplo n.º 3
0
def set_value(filename, value):
    g15scheduler.execute("System", "setValue", _do_set_value, filename, value)
Ejemplo n.º 4
0
def set_value(filename, value):
    g15scheduler.execute("System", "setValue", _do_set_value, filename, value);