Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change ctrl + meta shortcut #4

Open
Ahmed-mo-rizk opened this issue Oct 5, 2024 · 1 comment
Open

How to change ctrl + meta shortcut #4

Ahmed-mo-rizk opened this issue Oct 5, 2024 · 1 comment

Comments

@Ahmed-mo-rizk
Copy link

No description provided.

@Ahmed-mo-rizk Ahmed-mo-rizk changed the title How to change ctrl+win shortcut How to change ctrl + meta shortcut Oct 5, 2024
@garywill
Copy link
Owner

garywill commented Oct 5, 2024

vimouse/keyb.py

Lines 172 to 185 in 70a63f1

def is_ctrl_key(key):
if key in [
keyboard.Key.ctrl,
keyboard.Key.ctrl_l
] :
return True
else:
return False
def is_cmd_key(key):
if key == keyboard.Key.cmd:
return True
else:
return False

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants