Logo

📱 BLE MODE

Quote Types

StyleExampleBest For
"double"writeLn "multi word text"Standard text/phrases
'single'writeLn 'another value'Alternative text quoting
`back`writeLn `special$chars` Code/commands with symbols

Keyboard Commands

The supported keys are different for BLE and HID mode! Be aware.

Description: Prints the provided text as keyboard input.

Syntax:

write '<text>'

Example:

write 'Hello, World!'

Miscellaneous Commands

Description: Pauses execution for a specified amount of milliseconds.

Syntax:

delay '<milliseconds>'

Example:

delay '1000'

Automation Commands

Description: Monitors a specific keyboard state (CapsLock, NumLock, or ScrollLock) and waits for it to change. The function will break out of the loop when the desired state change is detected.

Supported Keys:

  • capslock, numlock, scrolllock

Syntax:

stateChange <key>

Example:

stateChange 'capslock'

Valid Command Usage

writeLn 'Welcome to HID Mode'
mouseMove 50 -30
keyboardLayout 'German'
ledColor 0 255 0

Invalid Command Usage

writeLn Welcome to HID Mode  # Missing quotes for multi-word argument
mouseMove 50 - 30            # Space between - and 30 makes invalid syntax
key 'escape'                 # 'escape' is not a valid key name (should be 'esc')

Always verify your command syntax. When in doubt, enclose arguments in quotes.

On this page