Skip to content

Instantly share code, notes, and snippets.

@johnw42
Created January 27, 2026 02:38
Show Gist options
  • Select an option

  • Save johnw42/86a197c4694563708f84896e13178e15 to your computer and use it in GitHub Desktop.

Select an option

Save johnw42/86a197c4694563708f84896e13178e15 to your computer and use it in GitHub Desktop.
My input-remapper config for a Razer Naga V2 Hyperspeed
[
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 4,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "mouse",
"output_symbol": "BTN_EXTRA",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 7,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "mouse",
"output_symbol": "BTN_SIDE",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 6,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_ENTER",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 5,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_SPACE",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 3,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_PASTE",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 10,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard + mouse",
"output_symbol": "KEY_LEFTCTRL + BTN_LEFT",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 8,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_DELETE",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 11,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_LEFTMETA + KEY_W",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 12,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_ESC",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 13,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard",
"output_symbol": "modify(KEY_LEFTALT, key(KEY_TAB))",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 2,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_BACKSPACE",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 9,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_COPY",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 9,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_CUT",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 2,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 3,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 4,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 5,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_LEFTCTRL + KEY_SPACE",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 6,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 7,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 8,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 10,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 11,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 12,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 29,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 56,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 125,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
},
{
"type": 1,
"code": 13,
"origin_hash": "04c22fed0a139a48a5920ef29e84cc76"
}
],
"target_uinput": "keyboard"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment