Skip to content

Instantly share code, notes, and snippets.

@rochacbruno
Created September 16, 2025 12:04
Show Gist options
  • Select an option

  • Save rochacbruno/7fe55124d0a80676462b85c5d27d6daa to your computer and use it in GitHub Desktop.

Select an option

Save rochacbruno/7fe55124d0a80676462b85c5d27d6daa to your computer and use it in GitHub Desktop.
[
{
"input_combination": [
{
"type": 1,
"code": 58,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "if_tap(\n if_tap(\n modify(\n Shift_L, \n modify(\n ISO_Level3_Shift, \n key(dead_acute)\n )\n ), \n modify(ISO_Level3_Shift, key(dead_acute))\n ), \n repeat(\n 3,\n modify(\n Shift_L, \n modify(\n ISO_Level3_Shift, \n key(dead_acute)\n )\n ) \n )\n)",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 58,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "repeat(6, key(dead_grave))",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 64,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioRaiseVolume",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 63,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioLowerVolume",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 62,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioMute",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "disable",
"mapping_type": "key_macro"
}
]
[
{
"input_combination": [
{
"type": 1,
"code": 58,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "if_tap(\n if_tap(\n modify(\n Shift_L, \n modify(\n ISO_Level3_Shift, \n key(dead_acute)\n )\n ), \n modify(ISO_Level3_Shift, key(dead_acute))\n ), \n repeat(\n 3,\n modify(\n Shift_L, \n modify(\n ISO_Level3_Shift, \n key(dead_acute)\n )\n ) \n )\n)",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 42,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 58,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "repeat(6, key(dead_grave))",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 64,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioRaiseVolume",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 63,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioLowerVolume",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 62,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioMute",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "disable",
"mapping_type": "key_macro"
}
]
[
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 64,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioRaiseVolume",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 63,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioLowerVolume",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 62,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "XF86AudioMute",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "disable",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 58,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "if_single(key(Escape), hold(Control_L))",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 97,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 40,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "repeat(6, key(dead_grave))",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 97,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 42,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 40,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "repeat(\n 3,\n modify(\n Shift_L, \n modify(\n ISO_Level3_Shift, \n key(dead_acute)\n )\n ) \n )",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 127,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
},
{
"type": 1,
"code": 40,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "modify(\n Shift_L, \n modify(\n ISO_Level3_Shift, \n key(dead_acute)\n )\n ) ",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 57,
"origin_hash": "99614f2eb2dff6628bd5eff9210e538f"
}
],
"target_uinput": "keyboard",
"output_symbol": "preset",
"mapping_type": "key_macro"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment