Skip to content

Instantly share code, notes, and snippets.

@nazmulidris
Last active June 19, 2023 19:54
Show Gist options
  • Save nazmulidris/539ae03a81d51daf767cb178ea31ad71 to your computer and use it in GitHub Desktop.
Save nazmulidris/539ae03a81d51daf767cb178ea31ad71 to your computer and use it in GitHub Desktop.
uhk v2 user configuration for issue repro

Repro steps:

Open Vscode or Chrome. Open a few tabs.

  1. Press & Hold Shift
  2. Then Press & Hold Mod
  3. Then Press & Release “small right bottom key”

And nothing happens.

{
"userConfigMajorVersion": 5,
"userConfigMinorVersion": 0,
"userConfigPatchVersion": 0,
"deviceName": "NAZ-UHK",
"doubleTapSwitchLayerTimeout": 250,
"iconsAndLayerTextsBrightness": 255,
"alphanumericSegmentsBrightness": 255,
"keyBacklightBrightness": 255,
"mouseMoveInitialSpeed": 1,
"mouseMoveAcceleration": 17,
"mouseMoveDeceleratedSpeed": 8,
"mouseMoveBaseSpeed": 16,
"mouseMoveAcceleratedSpeed": 17,
"mouseScrollInitialSpeed": 10,
"mouseScrollAcceleration": 15,
"mouseScrollDeceleratedSpeed": 10,
"mouseScrollBaseSpeed": 10,
"mouseScrollAcceleratedSpeed": 20,
"moduleConfigurations": [],
"keymaps": [
{
"isDefault": true,
"abbreviation": "RS",
"name": "linux",
"description": "QWERTY is the mother of all layouts. This is the PC version.",
"layers": [
{
"id": "base",
"modules": [
{
"id": 0,
"keyActions": [
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 36
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 37
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 38
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 39
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 45
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 46
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 42
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 24
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 12
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 18
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 19
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 47
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 48
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 49
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 28
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 13
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 14
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 15
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 51
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 52
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 40,
"secondaryRoleAction": "leftAlt"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 11
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 17
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 16
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 54
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 55
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 56
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 2
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 44
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 79,
"modifierMask": 8,
"secondaryRoleAction": "leftAlt"
},
{
"keyActionType": "switchLayer",
"layer": "mouse",
"switchLayerMode": "hold"
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 16
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 16
}
]
},
{
"id": 1,
"keyActions": [
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 53,
"secondaryRoleAction": "fn"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 30
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 31
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 32
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 33
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 34
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 35
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 43,
"secondaryRoleAction": "mouse"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 20
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 26
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 21
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 23
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 41,
"secondaryRoleAction": "leftCtrl"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 22
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 7
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 9
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 10
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 2
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 100
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 29
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 27
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 6
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 25
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 5
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 1
},
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 80,
"modifierMask": 8,
"secondaryRoleAction": "leftCtrl"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 40,
"secondaryRoleAction": "mod"
},
null
]
},
{
"id": 2,
"keyActions": [
{
"keyActionType": "switchLayer",
"layer": "mouse",
"switchLayerMode": "hold"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 42
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 41
},
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
},
{
"keyActionType": "mouse",
"mouseAction": "middleClick"
},
{
"keyActionType": "mouse",
"mouseAction": "rightClick"
}
]
},
{
"id": 5,
"keyActions": [
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
}
]
},
{
"id": 3,
"keyActions": [
{
"keyActionType": "switchLayer",
"layer": "mod",
"switchLayerMode": "hold"
},
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
}
]
}
]
},
{
"id": "mod",
"modules": [
{
"id": 0,
"keyActions": [
{
"keyActionType": "playMacro",
"macroIndex": 10
},
{
"keyActionType": "playMacro",
"macroIndex": 11
},
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 45,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 46,
"modifierMask": 1
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 82,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 82
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 75
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 78
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 47,
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 48,
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 49,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 28,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 80
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 81
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 79
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 51,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 52,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 40,
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 74
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 77
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 13,
"modifierMask": 5
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 54,
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 55,
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 56,
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 2
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 44,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 43,
"modifierMask": 1
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 64
},
{
"keyActionType": "keystroke",
"type": "media",
"scancode": 234
},
{
"keyActionType": "keystroke",
"type": "media",
"scancode": 181
}
]
},
{
"id": 1,
"keyActions": [
null,
null,
null,
null,
null,
{
"keyActionType": "playMacro",
"macroIndex": 9
},
{
"keyActionType": "playMacro",
"macroIndex": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 41,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 20,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 26,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 8,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 21,
"modifierMask": 1
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 23,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 41,
"modifierMask": 2
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 4,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 22,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 7,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 9,
"modifierMask": 1
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 10,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 2
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 29,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 27,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 6,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 25,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 81,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 4
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 43,
"modifierMask": 3
},
null,
null
]
},
{
"id": 2,
"keyActions": [
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 76
},
{
"keyActionType": "playMacro",
"macroIndex": 3
},
null,
null,
null
]
},
{
"id": 5,
"keyActions": [
{
"keyActionType": "mouse",
"mouseAction": "rightClick"
}
]
},
{
"id": 3,
"keyActions": [
{
"keyActionType": "switchLayer",
"layer": "mod",
"switchLayerMode": "hold"
},
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
}
]
}
]
},
{
"id": "fn",
"modules": [
{
"id": 0,
"keyActions": [
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 64
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 65
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 66
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 67
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 68
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 69
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 70
},
null,
null,
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 49,
"modifierMask": 4
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 32
},
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 78,
"modifierMask": 3
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 64
},
null,
null
]
},
{
"id": 1,
"keyActions": [
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 58
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 59
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 60
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 61
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 62
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 63
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 2
},
null,
null,
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 4
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 75,
"modifierMask": 3
},
null,
null
]
},
{
"id": 2,
"keyActions": [
{
"keyActionType": "playMacro",
"macroIndex": 4
},
null,
null,
null,
null,
null
]
},
{
"id": 5,
"keyActions": [
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
}
]
},
{
"id": 3,
"keyActions": [
null,
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
}
]
}
]
},
{
"id": "mouse",
"modules": [
{
"id": 0,
"keyActions": [
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "media",
"scancode": 234
},
{
"keyActionType": "keystroke",
"type": "media",
"scancode": 233
},
{
"keyActionType": "keystroke",
"type": "media",
"scancode": 226
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 82
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 12,
"modifierMask": 9
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 14,
"modifierMask": 9
},
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 22,
"modifierMask": 8
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 80
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 81
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 79
},
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 40,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 74
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 77
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 43,
"modifierMask": 3
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 43,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 56,
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 32
},
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 78,
"modifierMask": 3
},
{
"keyActionType": "switchLayer",
"layer": "mouse",
"switchLayerMode": "hold"
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 64
},
null,
null
]
},
{
"id": 1,
"keyActions": [
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 59,
"modifierMask": 4
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 61,
"modifierMask": 4
},
null,
null,
null,
null,
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 23,
"modifierMask": 3
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 4,
"modifierMask": 3
},
null,
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 2
},
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 25,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 5,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 8,
"modifierMask": 3
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 75,
"modifierMask": 3
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 55,
"modifierMask": 8
},
null
]
},
{
"id": 2,
"keyActions": [
{
"keyActionType": "switchLayer",
"layer": "mouse",
"switchLayerMode": "hold"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 42,
"modifierMask": 1
},
null,
null,
null,
null
]
},
{
"id": 5,
"keyActions": [
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
}
]
},
{
"id": 3,
"keyActions": [
null,
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
}
]
}
]
}
]
},
{
"isDefault": false,
"abbreviation": "MAC",
"name": "mac",
"description": "QWERTY is the mother of all layouts. This is the Mac version.",
"layers": [
{
"id": "base",
"modules": [
{
"id": 0,
"keyActions": [
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 36
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 37
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 38
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 39
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 45
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 46
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 42
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 24
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 12
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 18
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 19
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 47
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 48
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 49
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 28
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 13
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 14
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 15
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 51
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 52
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 40
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 11
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 17
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 16
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 54
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 55
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 56
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 32
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 44
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 79
},
{
"keyActionType": "switchLayer",
"layer": "mod",
"switchLayerMode": "hold"
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 64
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 128
},
{
"keyActionType": "switchLayer",
"layer": "mouse",
"switchLayerMode": "hold"
}
]
},
{
"id": 1,
"keyActions": [
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 53
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 30
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 31
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 32
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 33
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 34
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 35
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 43
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 20
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 26
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 21
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 23
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 41
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 22
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 7
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 9
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 10
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 2
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 100
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 29
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 27
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 6
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 25
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 5
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 4
},
{
"keyActionType": "switchLayer",
"layer": "fn",
"switchLayerMode": "hold"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 80
},
{
"keyActionType": "switchLayer",
"layer": "mod",
"switchLayerMode": "holdAndDoubleTapToggle"
},
null
]
},
{
"id": 2,
"keyActions": [
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 76
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 42
},
null,
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
},
{
"keyActionType": "mouse",
"mouseAction": "middleClick"
},
{
"keyActionType": "mouse",
"mouseAction": "rightClick"
}
]
},
{
"id": 5,
"keyActions": [
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
}
]
},
{
"id": 3,
"keyActions": [
null,
null
]
}
]
},
{
"id": "mod",
"modules": [
{
"id": 0,
"keyActions": [
{
"keyActionType": "mouse",
"mouseAction": "scrollLeft"
},
{
"keyActionType": "mouse",
"mouseAction": "scrollRight"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 43,
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 82,
"modifierMask": 5
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 80,
"modifierMask": 5
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 79,
"modifierMask": 5
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 76
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 82,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 82
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 75
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 78
},
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 42,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 28,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 80
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 81
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 79
},
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 40,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 74
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 77
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 43,
"modifierMask": 3
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 43,
"modifierMask": 1
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 32
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 44,
"modifierMask": 1
},
null,
{
"keyActionType": "switchLayer",
"layer": "mod",
"switchLayerMode": "hold"
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 64
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 128
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 16
}
]
},
{
"id": 1,
"keyActions": [
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 44,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 23,
"modifierMask": 15
},
{
"keyActionType": "keystroke",
"type": "media",
"scancode": 184,
"modifierMask": 3
},
{
"keyActionType": "keystroke",
"type": "media",
"scancode": 234
},
{
"keyActionType": "keystroke",
"type": "media",
"scancode": 233
},
{
"keyActionType": "mouse",
"mouseAction": "scrollDown"
},
{
"keyActionType": "mouse",
"mouseAction": "scrollUp"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 43,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 20,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 26,
"modifierMask": 8
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 21,
"modifierMask": 5
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 23,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 11,
"modifierMask": 5,
"secondaryRoleAction": "leftCtrl"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 4,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 22,
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 7,
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 9,
"modifierMask": 3
},
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 2
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 29,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 27,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 6,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 25,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 81,
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 44,
"modifierMask": 9
},
null,
{
"keyActionType": "switchLayer",
"layer": "mod",
"switchLayerMode": "holdAndDoubleTapToggle"
},
null
]
},
{
"id": 2,
"keyActions": [
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 76
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 42
},
null,
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
},
{
"keyActionType": "mouse",
"mouseAction": "middleClick"
},
{
"keyActionType": "mouse",
"mouseAction": "rightClick"
}
]
},
{
"id": 5,
"keyActions": [
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
}
]
},
{
"id": 3,
"keyActions": [
null,
null
]
}
]
},
{
"id": "fn",
"modules": [
{
"id": 0,
"keyActions": [
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 64
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 65
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 66
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 67
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 68
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 69
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 14,
"modifierMask": 8
},
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 40,
"modifierMask": 8
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 17,
"modifierMask": 8
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 16,
"modifierMask": 12
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 54,
"modifierMask": 10
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 55,
"modifierMask": 10
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 56,
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 32
},
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 78,
"modifierMask": 10
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 128
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 64
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 16
}
]
},
{
"id": 1,
"keyActions": [
{
"keyActionType": "switchKeymap",
"keymapAbbreviation": "RS"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 58
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 59
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 60
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 61
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 62
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 63
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 2
},
null,
null,
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 8
},
{
"keyActionType": "switchLayer",
"layer": "fn",
"switchLayerMode": "hold"
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 75,
"modifierMask": 10
},
null,
null
]
},
{
"id": 2,
"keyActions": [
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 76
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 42
},
null,
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
},
{
"keyActionType": "mouse",
"mouseAction": "middleClick"
},
{
"keyActionType": "mouse",
"mouseAction": "rightClick"
}
]
},
{
"id": 5,
"keyActions": [
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
}
]
},
{
"id": 3,
"keyActions": [
null,
null
]
}
]
},
{
"id": "mouse",
"modules": [
{
"id": 0,
"keyActions": [
null,
null,
null,
null,
null,
null,
null,
{
"keyActionType": "mouse",
"mouseAction": "scrollLeft"
},
{
"keyActionType": "mouse",
"mouseAction": "moveUp"
},
{
"keyActionType": "mouse",
"mouseAction": "scrollRight"
},
null,
null,
null,
null,
{
"keyActionType": "mouse",
"mouseAction": "scrollDown"
},
{
"keyActionType": "mouse",
"mouseAction": "moveLeft"
},
{
"keyActionType": "mouse",
"mouseAction": "moveDown"
},
{
"keyActionType": "mouse",
"mouseAction": "moveRight"
},
null,
null,
null,
{
"keyActionType": "mouse",
"mouseAction": "scrollUp"
},
null,
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 32
},
null,
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
},
{
"keyActionType": "mouse",
"mouseAction": "rightClick"
},
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 128
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 64
},
{
"keyActionType": "switchLayer",
"layer": "mouse",
"switchLayerMode": "hold"
}
]
},
{
"id": 1,
"keyActions": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
{
"keyActionType": "mouse",
"mouseAction": "rightClick"
},
{
"keyActionType": "mouse",
"mouseAction": "middleClick"
},
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
},
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 2
},
null,
null,
null,
null,
null,
null,
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 1
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 4
},
{
"keyActionType": "keystroke",
"type": "basic",
"modifierMask": 8
},
null,
{
"keyActionType": "mouse",
"mouseAction": "decelerate"
},
{
"keyActionType": "mouse",
"mouseAction": "accelerate"
},
null
]
},
{
"id": 2,
"keyActions": [
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 76
},
{
"keyActionType": "keystroke",
"type": "basic",
"scancode": 42
},
null,
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
},
{
"keyActionType": "mouse",
"mouseAction": "middleClick"
},
{
"keyActionType": "mouse",
"mouseAction": "rightClick"
}
]
},
{
"id": 5,
"keyActions": [
{
"keyActionType": "mouse",
"mouseAction": "leftClick"
}
]
},
{
"id": 3,
"keyActions": [
null,
null
]
}
]
}
]
}
],
"macros": [
{
"isLooped": false,
"isPrivate": true,
"name": "$onInit",
"macroActions": [
{
"macroActionType": "command",
"command": "# https://ultimatehackingkeyboard.com/blog/2023/02/10/setting-led-fade-timeout\nset leds.fadeTimeout 10\nset module.trackball.navigationMode.mouse scroll\nset module.keycluster.navigationMode.mouse cursor\nset module.trackball.navigationMode.fn scroll"
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "delete next word",
"macroActions": [
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 79,
"modifierMask": 3
},
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 42
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "family@",
"macroActions": [
{
"macroActionType": "text",
"text": "[email protected]"
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "gnome-restart",
"macroActions": [
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 59,
"modifierMask": 4
},
{
"macroActionType": "delay",
"delay": 100
},
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 21
},
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 40
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "gnome-safe-reboot",
"macroActions": [
{
"macroActionType": "key",
"action": "press",
"type": "basic",
"scancode": 70,
"modifierMask": 4
},
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 21
},
{
"macroActionType": "delay",
"delay": 1000
},
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 8
},
{
"macroActionType": "delay",
"delay": 1000
},
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 12
},
{
"macroActionType": "delay",
"delay": 1000
},
{
"macroActionType": "key",
"action": "press",
"type": "basic",
"scancode": 22
},
{
"macroActionType": "delay",
"delay": 1000
},
{
"macroActionType": "key",
"action": "press",
"type": "basic",
"scancode": 24
},
{
"macroActionType": "delay",
"delay": 1000
},
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 5
},
{
"macroActionType": "key",
"action": "release",
"type": "basic",
"scancode": 70,
"modifierMask": 4
}
]
},
{
"isLooped": true,
"isPrivate": true,
"name": "Go to UHK site in browser",
"macroActions": [
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 15,
"modifierMask": 1
},
{
"macroActionType": "text",
"text": "https://ultimatehackingkeyboard.com"
},
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 40
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "God mode in Doom",
"macroActions": [
{
"macroActionType": "text",
"text": "iddqd"
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "mouse-focus-selected-window",
"macroActions": [
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 16,
"modifierMask": 8
},
{
"macroActionType": "key",
"action": "tap",
"type": "basic",
"scancode": 40
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "type pwd",
"macroActions": [
{
"macroActionType": "text",
"text": "foo"
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "type pwd (deprecated)",
"macroActions": [
{
"macroActionType": "text",
"text": "bar"
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "type pwd2",
"macroActions": [
{
"macroActionType": "text",
"text": "baz\n"
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "type pwd3",
"macroActions": [
{
"macroActionType": "text",
"text": "foobar"
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "type shift shift",
"macroActions": [
{
"macroActionType": "key",
"action": "press",
"modifierMask": 2
},
{
"macroActionType": "key",
"action": "release",
"modifierMask": 2
},
{
"macroActionType": "key",
"action": "press",
"modifierMask": 2
},
{
"macroActionType": "key",
"action": "release",
"modifierMask": 2
}
]
},
{
"isLooped": false,
"isPrivate": true,
"name": "Type Silent Bob's address",
"macroActions": [
{
"macroActionType": "text",
"text": "Silent Bob\n711-2880 Nulla St.\nMankato Mississippi 96522\n(257) 563-7401"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment