Vuo 2.4.4
|
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. | |
json_object * | VuoModifierKey_getJson (const VuoModifierKey value) |
Encodes value as a JSON object. | |
char * | VuoModifierKey_getSummary (const VuoModifierKey value) |
Returns a brief description of value. | |
VuoList_VuoModifierKey | VuoModifierKey_getAllowedValues (void) |
Returns a list of values that instances of this type can have. | |
bool | VuoModifierKey_doMacEventFlagsMatch (unsigned long flags, VuoModifierKey modifierKey) |
Returns true if flags (of type CGEventFlags ) contains the given modifier keys. | |
char * | VuoModifierKey_getString (const VuoModifierKey value) |
Automatically generated function. | |
void | VuoModifierKey_retain (VuoModifierKey value) |
Automatically generated function. | |
void | VuoModifierKey_release (VuoModifierKey value) |
Automatically generated function. | |
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 139 of file VuoModifierKey.c.
VuoList_VuoModifierKey VuoModifierKey_getAllowedValues | ( | void | ) |
Returns a list of values that instances of this type can have.
Definition at line 92 of file VuoModifierKey.c.
struct json_object * VuoModifierKey_getJson | ( | const VuoModifierKey | value | ) |
Encodes value as a JSON object.
Definition at line 61 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 108 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 32 of file VuoModifierKey.c.
void VuoModifierKey_release | ( | VuoModifierKey | value | ) |
Automatically generated function.
void VuoModifierKey_retain | ( | VuoModifierKey | value | ) |
Automatically generated function.