User Tools

Site Tools


tuner_key_syntax

Twiddler Tags

All tag names are surrounded by angle brackets: <>

Modifier Element

Modifiers are keys that do not send an HID code when pressed on their own but modify another character when pressed together. An example of this is Control-C to copy text. “Control” pressed on its own will do nothing. “Control” and “c” pressed will copy a selection to the clipboard.

Each Modifier Element consists of a start tag and end tag, with the content to be modified inserted in between.

<tagname>Content goes here…</tagname>

Keyboard Modifier MAC Key HID Code Element
Left Control ^ - Control 224 <LCtrl> chars to be modified </LCtrl>
Right Control ^ - Control 228 <RCtrl> chars to be modified </RCtrl>
Left Shift 225 <LShift> chars to be modified </LShift>
Right Shift 229 <RShift> chars to be modified </RShift>
Left Alt ⌘ - Command 226 <LAlt> chars to be modified </LAlt>
Right Alt ⌘ - Command 230 <RAlt> chars to be modified </RAlt>
Left GUI ⌥ - Option 227 <LGUI> chars to be modified </LGUI>
Right GUI 231 <RGUI> chars to be modified </RGUI>

Nesting Modifiers

Modifiers can be nested. Just make sure to close the inner tags first and move to the outer tags.

Shift-Alt-GUI-g would be entered like this:

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

KB Tag

Setting the Twiddler to type out code attributes might cause syntax errors due to the brackets in the opening/closing tag, such as < > { } [ ]

The KB Tag setting in the Tuner avoids that problem by allowing you to select a delimiter for your keyboard.

For instance, if you want to type out a code attribute with an opening tag like <p> and an ending tag like </p> on your Twiddler, you will have to change the KB Tag delimiter to something other than KB TAG <…> - otherwise those brackets “<” and “>” will not be seen as part of the text. KBTag on Tuner KBSyntax on Tuner

Complete Special Key Syntax

KEY 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>
PageUp <PageUp>
Delete <Delete>
End <End>
Page Down <PageDown>
Right Arrow <RightArrow>
Left Arrow <LeftArrow>
Down Arrow <DownArrow>
UpArrow <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⇒
tuner_key_syntax.txt · Last modified: 2024/08/15 20:18 by lalaine