Home
last modified time | relevance | path

Searched refs:code (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/minui/
Devents.c155 int code; in ev_sync_key_state() local
168 for (code = 0; code <= KEY_MAX; code++) { in ev_sync_key_state()
169 if (test_bit(code, key_bits)) in ev_sync_key_state()
170 set_key_cb(code, 1, data); in ev_sync_key_state()
Dminui.h49 typedef int (*ev_set_key_callback)(int code, int value, void *data);
/bootable/bootloader/legacy/
DREADME5 generic (containing code useful to any bootloader), architecture
6 (containing code useful to a specific cpu, system-on-chip, etc), and
7 board (containing code useful to a single specific device)
/bootable/recovery/
Dui.c313 if (ev.code == REL_Y) { in input_callback()
322 ev.code = KEY_DOWN; in input_callback()
328 ev.code = KEY_UP; in input_callback()
337 if (ev.type != EV_KEY || ev.code > KEY_MAX) in input_callback()
345 key_pressed[ev.code] = ev.value; in input_callback()
349 key_queue[key_queue_len++] = ev.code; in input_callback()
354 if (ev.value > 0 && device_toggle_display(key_pressed, ev.code)) { in input_callback()
362 if (ev.value > 0 && device_reboot_now(key_pressed, ev.code)) { in input_callback()
DNOTICE40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
69 communication on electronic mailing lists, source code control systems,