Vuo  1.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
VuoKey.c File Reference


VuoKey implementation.


VuoKey VuoKey_makeFromJson (json_object *js)
 Decodes the JSON object js, expected to contain a string, to create a new VuoKey.
json_objectVuoKey_getJson (const VuoKey value)
 Encodes value as a JSON object.
VuoList_VuoKey VuoKey_getAllowedValues (void)
 Returns a list of values that instances of this type can have.
char * VuoKey_getSummary (const VuoKey value)
 Returns a string representation of the key as it would be interpreted in the user's keyboard layout.
char * VuoKey_getCharactersForMacVirtualKeyCode (unsigned short keyCode, unsigned long flags, unsigned int *deadKeyState)
 Returns the Unicode characters that would be typed by a key press.
VuoKey VuoKey_makeFromMacVirtualKeyCode (unsigned short keyCode)
 Returns the VuoKey that corresponds to the given virtual key code.
bool VuoKey_doesMacVirtualKeyCodeMatch (unsigned short keyCode, VuoKey key)
 Returns true if the virtual key code matches the given key.