-
Notifications
You must be signed in to change notification settings - Fork 67
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
Scroll Lock and Num Lock support #80
Comments
Looks like they're just scancodes like everything else- https://gist.github.com/MightyPork/6da26e382a7ad91b5496ee55fdc73db2 Caps Lock is already implemented like so: keybow-firmware/sdcard/keybow.lua Line 20 in ec9bc99
So maybe: keybow.NUMLOCK = 0x43
keybow.SCROLLLOCK = 0x47 will work when coupled with the regular key press/release example here: keybow.set_key(keybow.NUMLOCK, keybow.KEY_DOWN)
keybow.tap_key(...)
keybow.set_key(keybow.NUMLOCK, keybow.KEY_UP) |
hi @Gadgetoid - Thanks so much for this! (btw looking at that link NUM_LOCK is 0x53) weirdly. once I set these and have the following layout - the keybow seems to crash as soon as I hit the scrolllock (it triggers correctly the first time, but after that no keypresses work) - any ideas?
|
anyone else tried this? or can reproduce? |
Hi, does anyone know of any way to emulate these keys?
I'm trying to add some extra controls to a KVM and those are quite often used
The text was updated successfully, but these errors were encountered: