Lines Matching defs:code
2 // Use of this source code is governed by a BSD-style license that can be
30 // The UIEvents (aka: DOM4Events) |code| value as defined in:
32 const char* code;
36 // and platform-neutral |code| values (as defined in the W3C UI Events
43 // Return the string that indentifies an invalid UI Event |code|.
47 // Convert a native (Mac/Win/Linux) keycode into the |code| string.
51 // Convert a UI Events |code| string value into a native keycode.
52 static uint16_t CodeToNativeKeycode(const char* code);
56 // Please don't use USB keycodes in new code.
67 // Convert a USB keycode into the string with the DOM3 |code| value.
71 // Convert a DOM3 Event |code| string into a USB keycode value.
72 static uint32_t CodeToUsbKeycode(const char* code);