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

Description

VuoKey implementation.

Functions

VuoKey VuoKey_valueFromJson (json_object *js)
 Decodes the JSON object js, expected to contain a string, to create a new VuoKey.
 
json_object * VuoKey_jsonFromValue (const VuoKey value)
 Encodes value as a JSON object.
 
char * VuoKey_summaryFromValue (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.