samartzidis / magicstick.io

Apple Keyboard USB Adapter for PC
18 stars 2 forks source link

Feature: Reconfigure right command as CTRL #5

Closed Omnicrash closed 3 months ago

Omnicrash commented 6 months ago

For people that don't need right alt, it would be more useful to be able to configure right-command as a secondary CTRL key.

samartzidis commented 3 months ago

Provided you update your firmware to v2, you can map Right Alt to Right Ctrl by adding this rule at the end of the default keymap configuration: (mod & KEYBOARD_MODIFIER_RIGHTALT) && set_mod((mod & ~KEYBOARD_MODIFIER_RIGHTALT) | KEYBOARD_MODIFIER_RIGHTCTRL):end

Omnicrash commented 3 months ago

Thanks for your continued effort, much appreciated!!