Last active
April 29, 2024 03:32
-
-
Save glebm/b5f3e5cc72a125ad8c38f4896e9e7d3e to your computer and use it in GitHub Desktop.
MSI Prestige 16 AI Studio input-remapper config for Fn+Left/Right/Up/Down -> Home/End/PageUp/PageDown
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"input_combination": [ | |
{ | |
"type": 1, | |
"code": 464, | |
"origin_hash": "121bafca5e72bccfe428d54bfef7c15e" | |
}, | |
{ | |
"type": 1, | |
"code": 105, | |
"origin_hash": "121bafca5e72bccfe428d54bfef7c15e" | |
} | |
], | |
"target_uinput": "keyboard", | |
"output_symbol": "KEY_HOME", | |
"name": "Fn+Left -> Home", | |
"mapping_type": "key_macro" | |
}, | |
{ | |
"input_combination": [ | |
{ | |
"type": 1, | |
"code": 464, | |
"origin_hash": "121bafca5e72bccfe428d54bfef7c15e" | |
}, | |
{ | |
"type": 1, | |
"code": 106, | |
"origin_hash": "121bafca5e72bccfe428d54bfef7c15e" | |
} | |
], | |
"target_uinput": "keyboard", | |
"output_symbol": "KEY_END", | |
"name": "Fn+Right -> End", | |
"mapping_type": "key_macro" | |
}, | |
{ | |
"input_combination": [ | |
{ | |
"type": 1, | |
"code": 464, | |
"origin_hash": "121bafca5e72bccfe428d54bfef7c15e" | |
}, | |
{ | |
"type": 1, | |
"code": 103, | |
"origin_hash": "121bafca5e72bccfe428d54bfef7c15e" | |
} | |
], | |
"target_uinput": "keyboard", | |
"output_symbol": "KEY_PAGEUP", | |
"name": "Fn+Up -> PageUp", | |
"mapping_type": "key_macro" | |
}, | |
{ | |
"input_combination": [ | |
{ | |
"type": 1, | |
"code": 464, | |
"origin_hash": "121bafca5e72bccfe428d54bfef7c15e" | |
}, | |
{ | |
"type": 1, | |
"code": 108, | |
"origin_hash": "121bafca5e72bccfe428d54bfef7c15e" | |
} | |
], | |
"target_uinput": "keyboard", | |
"output_symbol": "KEY_PAGEDOWN", | |
"name": "Fn+Down -> PageDown", | |
"mapping_type": "key_macro" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Call setkeycodes to assign Fn key | |
[Service] | |
Type=simple | |
User=root | |
ExecStart=setkeycodes 0xc0 0x1d0 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment