-
Notifications
You must be signed in to change notification settings - Fork 412
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
Using an Apple Magic keyboard #64
Comments
Just flipped it on, I think - plz let me know if it's not active. |
I see a wiki but no way to edit / add. |
Should be enabled now! |
@RobThree, thank you so much 🙏 |
Did you figure out how to do that? I don't even know what code the eject key has. It does not come up with "type key" dialogue. |
https://verityj.github.io/2023/06/17/eject.html HID key is 0xC000000b8. References included. I don't know how to create a proper scancode map for Windows for it, though. |
For future reference: since I got myself a macropad (which... isn't... bad), the swapped win/alt keys in SharpKeys which were then swapped back by MagicKeyboard (don't know or remember why I did that in the first place...) caused some confusion when configuring key combo's that used ALT in the (very spartan) macropad config utility. So the registry key is now:
And the settings are now as follows: I know, I'm quite sure this is not very interesting for anyone, but still... you never know. |
Leaving this here as documentation (since I couldn't edit the/a Wiki): I'm using an Apple Magic Keyboard (with numpad) and these are my mappings:
And this is the registry data:
Save the above in a
.reg
file (e.g. "apple_keyboard.reg" for example), double-click the file, allow it to be imported. Log off and back on (works on my Win10 machine, you may need to reboot) and you're set!This maps:
F13 -> PrtScr
F14 -> Scroll Lock
F15 -> Sorry, can't map to break
F16 -> (Un)Mute
F17 -> Web: Back
F18 -> Volume Down
F19 -> Volume Up
Clear -> NumLock
Left Option -> Left Windows
Left Command -> Left Alt
Right Option -> Right Windows
Right Command -> Right Alt
Unfortunately the ⏏ key (between F12 and F13) and the fn button cannot be mapped (the latter I'd love to map to insert.
I use the above settings with Tray Status Pro to show the numlock and caps-lock states (can also do scroll-lock but I don't use it anyway) and only seldomly miss my HP Keyboard that I've used for over two decades. I use(d) shift + delete and shift + insert as ctrl + c / ctrl + v (copy/paste) alternative a lot since I can more easily find those keys blindly. Also being a programmer I miss the (ctrl + ) break key combo. Also the menu key is missing on the Apple Magic Keyboard so I didn't map it (maybe possible to use F17 for; but haven't figured out the codes (yet)). But that's about it. The rest works as expected.
I hope this information is useful to anyone. @randyrants : Thanks for the great tool 👍 Please consider opening the Wiki? 😘
The text was updated successfully, but these errors were encountered: