Skip to content

Instantly share code, notes, and snippets.

@zany130
Created May 18, 2024 22:57
Show Gist options
  • Save zany130/301c548addc078bc7d32111babcb1d6d to your computer and use it in GitHub Desktop.
Save zany130/301c548addc078bc7d32111babcb1d6d to your computer and use it in GitHub Desktop.
[
{
"input_combination": [
{
"type": 1,
"code": 315,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_HOME",
"name": "G1",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 316,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 114,
"origin_hash": "6549e276dcf6ffba08e2fc451219a32a"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_PAGEUP",
"name": "G2",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 317,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 115,
"origin_hash": "6549e276dcf6ffba08e2fc451219a32a"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_END",
"name": "G3",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 318,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 113,
"origin_hash": "6549e276dcf6ffba08e2fc451219a32a"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_LEFTSHIFT + KEY_F12",
"name": "G4",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 307,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_LEFTALT + KEY_F4",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 305,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_LEFTMETA + KEY_MINUS",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 312,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioMute",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 304,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_LEFTMETA + KEY_LEFTCTRL + KEY_S",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 114,
"origin_hash": "6549e276dcf6ffba08e2fc451219a32a"
}
],
"target_uinput": "keyboard",
"output_symbol": "disable",
"name": "G2ORIG",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 115,
"origin_hash": "6549e276dcf6ffba08e2fc451219a32a"
}
],
"target_uinput": "keyboard",
"output_symbol": "disable",
"name": "G3ORIG",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 113,
"origin_hash": "6549e276dcf6ffba08e2fc451219a32a"
}
],
"target_uinput": "keyboard",
"output_symbol": "disable",
"name": "G4ORIG",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 313,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioMicMute",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 309,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_LEFTMETA + KEY_LEFTALT + KEY_RIGHT",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 308,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_LEFTMETA + KEY_LEFTALT + KEY_LEFT",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 306,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_LEFTMETA + KEY_EQUAL",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 1,
"code": 310,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_LEFTMETA + KEY_LEFTSHIFT + KEY_LEFT",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 3,
"code": 17,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37",
"analog_threshold": 1
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioLowerVolume",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 3,
"code": 17,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37",
"analog_threshold": -1
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioRaiseVolume",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 3,
"code": 16,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37",
"analog_threshold": -1
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioPrev",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 311,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
},
{
"type": 3,
"code": 16,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37",
"analog_threshold": 1
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioNext",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 3,
"code": 16,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "gamepad",
"output_type": 3,
"output_code": 16,
"mapping_type": "analog"
},
{
"input_combination": [
{
"type": 3,
"code": 17,
"origin_hash": "b4d4c75a8c188c20d61daa527ecf2e37"
}
],
"target_uinput": "gamepad",
"output_type": 3,
"output_code": 17,
"mapping_type": "analog"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment