Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModKeyMask = 0xFF00 ToKeyMask = 0x0010 )
View Source
const ( TypeMediaKey = 0xE400 TypeNormal = 0xF000 TypeMouse = 0xD000 TypeModKey = 0xFF00 TypeToKey = 0xFF10 TypeMacroKey = 0x7700 )
View Source
const ( KeyLeftCtrl = TypeNormal | 0xE0 KeyLeftShift = TypeNormal | 0xE1 KeyLeftAlt = TypeNormal | 0xE2 KeyWindows = TypeNormal | 0xE3 KeyRightCtrl = TypeNormal | 0xE4 KeyRightShift = TypeNormal | 0xE5 KeyH = TypeNormal | 0x0B KeyBackspace = TypeNormal | 0x2A )
View Source
const ( KeyMod0 = TypeModKey | 0x00 KeyMod1 = TypeModKey | 0x01 KeyMod2 = TypeModKey | 0x02 KeyMod3 = TypeModKey | 0x03 KeyMod4 = TypeModKey | 0x04 KeyMod5 = TypeModKey | 0x05 KeyTo0 = TypeToKey | 0x00 KeyTo1 = TypeToKey | 0x01 KeyTo2 = TypeToKey | 0x02 KeyTo3 = TypeToKey | 0x03 KeyTo4 = TypeToKey | 0x04 KeyTo5 = TypeToKey | 0x05 )
View Source
const ( KeyMacro0 = TypeMacroKey | 0x00 KeyMacro1 = TypeMacroKey | 0x01 KeyMacro2 = TypeMacroKey | 0x02 KeyMacro3 = TypeMacroKey | 0x03 KeyMacro4 = TypeMacroKey | 0x04 KeyMacro5 = TypeMacroKey | 0x05 KeyMacro6 = TypeMacroKey | 0x06 KeyMacro7 = TypeMacroKey | 0x07 KeyMacro8 = TypeMacroKey | 0x08 KeyMacro9 = TypeMacroKey | 0x09 KeyMacro10 = TypeMacroKey | 0x0a KeyMacro11 = TypeMacroKey | 0x0b KeyMacro12 = TypeMacroKey | 0x0c KeyMacro13 = TypeMacroKey | 0x0d KeyMacro14 = TypeMacroKey | 0x0e KeyMacro15 = TypeMacroKey | 0x0f )
View Source
const (
// restore default keymap for QMK
KeyRestoreDefaultKeymap = 0x7C03
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.