1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

macos-remap-keys: add Fn (Globe) keycode

This commit is contained in:
WeetHet 2025-10-09 15:58:17 +03:00 committed by Austin Horstman
parent 219150a73c
commit 7add554458

View file

@ -147,7 +147,9 @@ let
page7Keys = mapToInt (lib.fromHexString "700000000") ( page7Keys = mapToInt (lib.fromHexString "700000000") (
letters // numbers // specialKeys // fKeys1To12 // fKeys13To24 // navigationKeys // modifierKeys letters // numbers // specialKeys // fKeys1To12 // fKeys13To24 // navigationKeys // modifierKeys
); );
pageFFKeys = mapToInt (lib.fromHexString "FF00000000") { Fn = "0x3"; }; pageFFKeys = mapToInt (lib.fromHexString "FF00000000") {
Fn = "0x3";
};
in in
{ {
keyboard = page7Keys // pageFFKeys; keyboard = page7Keys // pageFFKeys;