Unified toggle keys, fixed ctrl, shit, alt logic
This commit is contained in:
@@ -8,6 +8,7 @@ from utils.pyautogui_control import ControlMixin
|
||||
|
||||
|
||||
|
||||
|
||||
# NOTE: Threads WILL NOT die with parent's destruction.
|
||||
def threaded_wrapper(fn):
|
||||
def wrapper(*args, **kwargs):
|
||||
@@ -37,9 +38,13 @@ class EndpointRegistry():
|
||||
def get_endpoints(self):
|
||||
return self._endpoints
|
||||
|
||||
|
||||
class Pyautogui_Controller(ControlMixin):
|
||||
def __init__(self):
|
||||
pass
|
||||
self.isCtrlOn = False
|
||||
self.isShiftOn = False
|
||||
self.isAltOn = False
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -66,6 +71,7 @@ keys_json = {
|
||||
|
||||
|
||||
|
||||
|
||||
# NOTE: Just reminding myself we can add to builtins two different ways...
|
||||
# __builtins__.update({"event_system": Builtins()})
|
||||
builtins.app_name = "Mouse Keyboard"
|
||||
|
||||
Reference in New Issue
Block a user