Vuo
1.2.4
|
VuoKeyboard interface.
Typedefs | |
typedef void * | VuoKeyboard |
Handle returned when starting to listen for events, to be used when stopping listening. | |
Functions | |
VuoKeyboard * | VuoKeyboard_make (void) |
Creates a handle for starting and stopping event listeners. | |
void | VuoKeyboard_startListeningForTyping (VuoKeyboard *keyboardListener, VuoOutputTrigger(typedLine, VuoText), VuoOutputTrigger(typedWord, VuoText), VuoOutputTrigger(typedCharacter, VuoText), VuoWindowReference window) |
Starts listening for key presses, and calling the trigger function each time a character (Unicode), word, or line is typed. | |
void | VuoKeyboard_startListeningForButtons (VuoKeyboard *keyboardListener, VuoOutputTrigger(pressed, void), VuoOutputTrigger(released, void), VuoWindowReference window, VuoKey key, VuoModifierKey modifierKey, bool shouldFireForRepeat) |
Starts listening or key presses and releases, and calling the trigger function for each one. | |
void | VuoKeyboard_stopListening (VuoKeyboard *keyboardListener) |
Stops listening for keyboard events for the given handle. | |
typedef void* VuoKeyboard |
Handle returned when starting to listen for events, to be used when stopping listening.
VuoKeyboard* VuoKeyboard_make | ( | void | ) |
Creates a handle for starting and stopping event listeners.
void VuoKeyboard_startListeningForButtons | ( | VuoKeyboard * | keyboardListener, |
VuoOutputTrigger(pressed, void) | , | ||
VuoOutputTrigger(released, void) | , | ||
VuoWindowReference | window, | ||
VuoKey | key, | ||
VuoModifierKey | modifierKey, | ||
bool | shouldFireForRepeat | ||
) |
Starts listening or key presses and releases, and calling the trigger function for each one.
void VuoKeyboard_startListeningForTyping | ( | VuoKeyboard * | keyboardListener, |
VuoOutputTrigger(typedLine, VuoText) | , | ||
VuoOutputTrigger(typedWord, VuoText) | , | ||
VuoOutputTrigger(typedCharacter, VuoText) | , | ||
VuoWindowReference | window | ||
) |
Starts listening for key presses, and calling the trigger function each time a character (Unicode), word, or line is typed.
void VuoKeyboard_stopListening | ( | VuoKeyboard * | keyboardListener | ) |
Stops listening for keyboard events for the given handle.