Table of Contents

Twiddler Tags

Twiddler tags define keyboard functions and modifier shortcuts. All tags are enclosed in angle brackets: `<>`.

Tags fall into two distinct categories:


Modifier Elements

Modifiers are keys that do not send an independent HID code when pressed alone, but modify other characters when pressed simultaneously (e.g., pressing Ctrl + C to copy text).

Each Modifier Element wraps the target text between a start tag and an end tag:

<tagname>Content to modify...</tagname>

Modifier Key Mapping Table

Twiddler Modifier Key Syntax Windows Key macOS Equivalent Linux Equivalent
Left Control Left Ctrl Left Control Left Ctrl
Left Shift Left Shift Left Shift Left Shift
Left Alt Left Alt Left Option (⌥) Left Alt
Left GUI Left Windows Left Command (⌘) Left Super
Right Control Right Ctrl Right Control Right Ctrl
Right Shift Right Shift Right Shift Right Shift
Right Alt Right Alt Right Option (⌥) Right Alt (often AltGr)
Right GUI Right Windows Right Command (⌘) Right Super

Nesting Modifiers

Modifiers can be nested to combine multiple modifier keys. Always close inner tags before closing outer tags (First-In, Last-Out).

Example: To create a chord for Shift + Alt + GUI + g:

<Left Shift><Left Alt><Left GUI>g</Left GUI></Left Alt></Left Shift>

KB Tag Delimiters

When configuring the Twiddler to output code snippets (such as HTML tags like `<p>` or symbols like `{ }` and `[ ]`), standard angle brackets can conflict with Twiddler's tag syntax parser.

To prevent syntax errors, you can change the KB Tag delimiter in the Tuner so that raw brackets in your text are not misinterpreted as Twiddler tags.

KB Tag Configuration in Tuner

Once changed, the tag delimiters in the chord table will update to match your selected brackets (e.g., changing from `< >` to `[ ]`):

Updated KB Syntax Display


Complete Special Key Syntax

Shown using default `< >` tag delimiters.

Key Type / Name Syntax
[MODIFIER] Left Ctrl <LCtrl> </LCtrl>
[MODIFIER] Left Shift <LShift> </LShift>
[MODIFIER] Left Alt <LAlt> </LAlt>
[MODIFIER] Left GUI <LGUI> </LGUI>
[MODIFIER] Right Ctrl <RCtrl> </RCtrl>
[MODIFIER] Right Shift <RShift> </RShift>
[MODIFIER] Right Alt <RAlt> </RAlt>
[MODIFIER] Right GUI <RGUI> </RGUI>
Return <Return>
Escape <Escape>
Backspace <Backspace>
Tab <Tab>
Non-US# <Non-US#>
Caps Lock <CapsLock>
F1 <F1>
F2 <F2>
F3 <F3>
F4 <F4>
F5 <F5>
F6 <F6>
F7 <F7>
F8 <F8>
F9 <F9>
F10 <F10>
F11 <F11>
F12 <F12>
F13 <F13>
F14 <F14>
F15 <F15>
F16 <F16>
F17 <F17>
F18 <F18>
F19 <F19>
F20 <F20>
F21 <F21>
F22 <F22>
F23 <F23>
F24 <F24>
Print Screen <PrintScreen>
Scroll Lock <ScrollLock>
Pause <Pause>
Insert <Insert>
Home <Home>
Page Up <PageUp>
Delete <Delete>
End <End>
Page Down <PageDown>
Right Arrow <RightArrow>
Left Arrow <LeftArrow>
Down Arrow <DownArrow>
Up Arrow <UpArrow>
NumLock <NumLock>
Application <Application>
HID Code <HIDCode Decimal HID Number>
Key Pad / <KP/>
Key Pad * <KP*>
Key Pad - <KP→
Key Pad + <KP+>
Key Pad Enter <KPEnter>
Key Pad 1 <KP1>
Key Pad 2 <KP2>
Key Pad 3 <KP3>
Key Pad 4 <KP4>
Key Pad 5 <KP5>
Key Pad 6 <KP6>
Key Pad 7 <KP7>
Key Pad 8 <KP8>
Key Pad 9 <KP9>
Key Pad 0 <KP0>
Key Pad . <KP.>
Key Pad = <KP⇒