Searched refs:keycodes (Results 1 - 7 of 7) sorted by relevance

/external/qemu/android/
H A Dkeycode-array.c19 android_keycodes_add_key_event( AKeycodeBuffer* keycodes, argument
23 if (code != 0 && keycodes->keycode_count < MAX_KEYCODES) {
24 keycodes->keycodes[(int)keycodes->keycode_count++] =
30 android_keycodes_flush(AKeycodeBuffer* keycodes) argument
32 if (keycodes->keycode_count > 0) {
36 for (nn = 0; nn < keycodes->keycode_count; nn++) {
37 int code = keycodes->keycodes[n
[all...]
H A Dkeycode-array.h19 /* Maximum number of keycodes kept in the array. */
22 /* Describes array of keycodes collected for transferring to the core. */
24 /* Number of keycodes collected in the array. */
27 /* Array of collected keycodes. */
28 int keycodes[ MAX_KEYCODES ]; member in struct:AKeycodeBuffer
31 /* Adds a key event to the array of keycodes. */
33 android_keycodes_add_key_event( AKeycodeBuffer* keycodes,
37 /* Flushes (transfers) collected keycodes to the core. */
39 android_keycodes_flush(AKeycodeBuffer* keycodes);
H A Dcharmap.h91 AKeycodeBuffer* keycodes);
H A Dqemulator.c332 static const struct { SkinKeyCommand cmd; AndroidKeyCode kcode; } keycodes[] = local
372 for (nn = 0; keycodes[nn].kcode != 0; nn++) {
373 if (command == keycodes[nn].cmd) {
374 unsigned code = keycodes[nn].kcode;
H A Dconsole.c1980 AKeycodeBuffer keycodes; local
1998 keycodes.keycode_count = 0;
2020 android_charmap_reverse_map_unicode( NULL, (unsigned)c, 1, &keycodes );
2021 android_charmap_reverse_map_unicode( NULL, (unsigned)c, 0, &keycodes );
2022 android_keycodes_flush( &keycodes );
/external/kernel-headers/original/linux/
H A Dkeychord.h45 /* number of keycodes in this keychord */
48 /* variable length array of keycodes */
49 __u16 keycodes[]; member in struct:input_keychord
/external/qemu/android/skin/
H A Dkeyboard.c59 AKeycodeBuffer keycodes; member in struct:SkinKeyboard
101 android_keycodes_add_key_event(&kb->keycodes, code, down);
108 android_keycodes_flush(&kb->keycodes);
409 &kb->keycodes);

Completed in 128 milliseconds