-
Notifications
You must be signed in to change notification settings - Fork 24
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
FN-layer remapping is (somewhat) possible using "02 00 00 ??" mappings #63
Comments
I... forgive my confusion but I don't understand how |
I looked at the macOS keymap and found that Meta+Shift+3 and Meta+Shift+4 are at these offsets. Edit: One other value I tried ended up just being the FN layers for the F1 key. I previously believed the firmware was translating the function keys into separate keymap entries depending on if the FN key is pressed. Now I believe that the these Edit 2: This chunk of empty bindings
And it's counterpart:
Might be up for grabs as custom FN layer bindings. It's no match for QMK, but 12 (including the original screenshot binding) open FN-layer capable slots is quite nice, and will surely be useful to folks. |
serialized_keymap_win.txt I had ChatGPT "Advanced Data Analysis" whip these up for me, they are the available slots for FN-layer remapping on the Air96. The // comment is the last byte of Edit: This can also be used to trace back the origin of some keys. We may actually have more slots available than expected, for example the "G" key utilizes an FN-layer for |
@WinkelCode This seems promising. I'm comparing dumps from my Air75 and my Air60 and this is plausible. Can I ask you how you've made the association that the physical screenshot key for macOS is at offset |
After I figured out how this "splitting" works, it's fairly straightforward to reference these bindings back and forth. However, at the "very beginning" I found it because in the Windows keymap, it only has a single (non-split) binding to SysRq/Print Screen. |
Description
I was investigating how the default macOS screenshot macro works, since the physical screenshot key doesn't actually have separate keymap entries, but still has different behavior depending on FN-key press.
I discovered that the "02 ?? ?? ??" bindings aren't actually redundant, but "redirect" the key press to other keymap offsets, depending on if FN is pressed.
The macOS screenshot macro uses
02 00 00 0C
, which splits into offset0240
and0300
. For example, I set0240
to00 00 00 68
for F13, and0300
to00 00 00 49
for Insert.Further details like how many free slots are available is TBD, and still needs to be systematically analyzed.
The text was updated successfully, but these errors were encountered: