KeyboardSynthesizerLoopMgr

Manager class for a key press/release loop

Members

Functions

press
void press(Scancode scancode)
pressKey
void pressKey(uint vKey)

Adds a key that will be "hold down" by the loop

release
void release(Scancode scancode)
releaseKey
void releaseKey(uint vKey)

"Releases" a key that is "hold down" by the loop

start
void start()

Starts the sending loop thread

stop
void stop()

Kills the sending loop thread

tryRelease
bool tryRelease(Scancode scancode)
tryReleaseKey
bool tryReleaseKey(uint vKey)

"Releases" a key if it has been "held down" by the loop

tryStart
bool tryStart()

Starts the sending loop thread if it is not already running

Properties

isRunning
bool isRunning [@property getter]

Meta