Skip to content

Instantly share code, notes, and snippets.

@snize
Created February 14, 2024 08:48
Show Gist options
  • Save snize/bcae4a89778de0c6e85c9abad1ef5502 to your computer and use it in GitHub Desktop.
Save snize/bcae4a89778de0c6e85c9abad1ef5502 to your computer and use it in GitHub Desktop.
HID Remapper
{
"version": 11,
"unmapped_passthrough_layers": [
0,
1,
2
],
"partial_scroll_timeout": 1000000,
"tap_hold_threshold": 200000,
"gpio_debounce_time_ms": 5,
"interval_override": 0,
"our_descriptor_number": 0,
"ignore_auth_dev_inputs": false,
"macro_entry_duration": 1,
"gpio_output_mode": 0,
"mappings": [
{
"target_usage": "0x00090002",
"source_usage": "0x00090002",
"scaling": 1000,
"layers": [
0
],
"sticky": false,
"tap": true,
"hold": false,
"source_port": 0,
"target_port": 0
},
{
"target_usage": "0xfff10001",
"source_usage": "0x00090002",
"scaling": 1000,
"layers": [
0,
1
],
"sticky": false,
"tap": false,
"hold": true,
"source_port": 0,
"target_port": 0
},
{
"target_usage": "0x00010038",
"source_usage": "0x00010031",
"scaling": -40,
"layers": [
2
],
"sticky": false,
"tap": false,
"hold": false,
"source_port": 0,
"target_port": 0
},
{
"target_usage": "0x000c0238",
"source_usage": "0x00010030",
"scaling": 40,
"layers": [
2
],
"sticky": false,
"tap": false,
"hold": false,
"source_port": 0,
"target_port": 0
},
{
"target_usage": "0x0007004a",
"source_usage": "0x00090005",
"scaling": 1000,
"layers": [
1
],
"sticky": false,
"tap": false,
"hold": false,
"source_port": 0,
"target_port": 0
},
{
"target_usage": "0x0007004d",
"source_usage": "0x00090004",
"scaling": 1000,
"layers": [
1
],
"sticky": false,
"tap": false,
"hold": false,
"source_port": 0,
"target_port": 0
},
{
"target_usage": "0x000700e3",
"source_usage": "0x00090001",
"scaling": 1000,
"layers": [
1
],
"sticky": false,
"tap": true,
"hold": false,
"source_port": 0,
"target_port": 0
},
{
"target_usage": "0x0007002b",
"source_usage": "0x00090001",
"scaling": 1000,
"layers": [
1
],
"sticky": false,
"tap": true,
"hold": false,
"source_port": 0,
"target_port": 0
},
{
"source_usage": "0x00090001",
"target_usage": "0xfff10002",
"layers": [
1,
2
],
"sticky": false,
"tap": false,
"hold": true,
"scaling": 1000,
"source_port": 0,
"target_port": 0
},
{
"source_usage": "0x00090003",
"target_usage": "0x00070046",
"layers": [
1
],
"sticky": false,
"tap": false,
"hold": false,
"scaling": 1000,
"source_port": 0,
"target_port": 0
}
],
"macros": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
],
"expressions": [
"",
"",
"",
"",
"",
"",
"",
""
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment