Vuo
2.4.0
|
A modifier key from the keyboard that may accompany a mouse action.
Enumerations | |
enum | VuoModifierKey { VuoModifierKey_Any = 0xFFFF , VuoModifierKey_Command = 0x10 , VuoModifierKey_Option = 0x8 , VuoModifierKey_Control = 0x4 , VuoModifierKey_Shift = 0x2 , VuoModifierKey_None = 0x0 } |
The available modifier keys (or any or none). More... | |
Functions | |
VuoModifierKey | VuoModifierKey_makeFromJson (json_object *js) |
Decodes the JSON object js, expected to contain a string, to create a new VuoModifierKey. More... | |
json_object * | VuoModifierKey_getJson (const VuoModifierKey value) |
Encodes value as a JSON object. More... | |
char * | VuoModifierKey_getSummary (const VuoModifierKey value) |
Returns a brief description of value. More... | |
VuoList_VuoModifierKey | VuoModifierKey_getAllowedValues (void) |
Returns a list of values that instances of this type can have. More... | |
bool | VuoModifierKey_doMacEventFlagsMatch (unsigned long flags, VuoModifierKey modifierKey) |
Returns true if flags (of type CGEventFlags ) contains the given modifier keys. More... | |
VuoModifierKey | VuoModifierKey_makeFromString (const char *str) |
Automatically generated function. More... | |
char * | VuoModifierKey_getString (const VuoModifierKey value) |
Automatically generated function. More... | |
void | VuoModifierKey_retain (VuoModifierKey value) |
Automatically generated function. More... | |
void | VuoModifierKey_release (VuoModifierKey value) |
Automatically generated function. More... | |
enum VuoModifierKey |
The available modifier keys (or any or none).
Values are stored in high 32 bits of a 64 bit unsigned int.
Definition at line 29 of file VuoModifierKey.h.
bool VuoModifierKey_doMacEventFlagsMatch | ( | unsigned long | flags, |
VuoModifierKey | modifierKey | ||
) |
Returns true if flags (of type CGEventFlags
) contains the given modifier keys.
Definition at line 140 of file VuoModifierKey.c.
VuoList_VuoModifierKey VuoModifierKey_getAllowedValues | ( | void | ) |
Returns a list of values that instances of this type can have.
Definition at line 93 of file VuoModifierKey.c.
struct json_object * VuoModifierKey_getJson | ( | const VuoModifierKey | value | ) |
Encodes value as a JSON object.
Definition at line 62 of file VuoModifierKey.c.
char * VuoModifierKey_getString | ( | const VuoModifierKey | value | ) |
Automatically generated function.
char * VuoModifierKey_getSummary | ( | const VuoModifierKey | value | ) |
Returns a brief description of value.
Definition at line 109 of file VuoModifierKey.c.
VuoModifierKey VuoModifierKey_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js, expected to contain a string, to create a new VuoModifierKey.
Definition at line 33 of file VuoModifierKey.c.
VuoModifierKey VuoModifierKey_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoModifierKey_release | ( | VuoModifierKey | value | ) |
Automatically generated function.
void VuoModifierKey_retain | ( | VuoModifierKey | value | ) |
Automatically generated function.