HomeSort by relevance Sort by last modified time
    Searched refs:key_pressed (Results 1 - 8 of 8) sorted by null

  /device/htc/passion/recovery/
recovery_ui.c 39 int device_toggle_display(volatile char* key_pressed, int key_code) {
40 return key_pressed[KEY_POWER] && key_code == KEY_VOLUMEUP;
43 int device_reboot_now(volatile char* key_pressed, int key_code) {
44 return key_pressed[KEY_POWER] && key_pressed[KEY_VOLUMEDOWN] &&
  /device/htc/sapphire/recovery/
recovery_ui.c 41 int device_toggle_display(volatile char* key_pressed, int key_code) {
42 return key_pressed[KEY_HOME] && key_code == KEY_END;
45 int device_reboot_now(volatile char* key_pressed, int key_code) {
46 return key_pressed[KEY_MENU] && // menu
47 key_pressed[KEY_SEND] && // green
  /device/htc/dream/recovery/
recovery_ui.c 41 int device_toggle_display(volatile char* key_pressed, int key_code) {
43 return (key_pressed[KEY_HOME] && key_code == KEY_END) ||
44 ((key_pressed[KEY_LEFTALT] || key_pressed[KEY_RIGHTALT]) &&
48 int device_reboot_now(volatile char* key_pressed, int key_code) {
49 return key_pressed[KEY_MENU] && // menu
50 key_pressed[KEY_SEND] && // green
  /bootable/recovery/
recovery_ui.h 24 // *key_pressed is an array of KEY_MAX+1 bytes indicating which other
27 extern int device_toggle_display(volatile char* key_pressed, int key_code);
30 // *key_pressed is an array of KEY_MAX+1 bytes indicating which other
33 extern int device_reboot_now(volatile char* key_pressed, int key_code);
default_recovery_ui.c 36 int device_toggle_display(volatile char* key_pressed, int key_code) {
40 int device_reboot_now(volatile char* key_pressed, int key_code) {
ui.c 90 static volatile char key_pressed[KEY_MAX + 1]; variable
283 // key-up), so don't record them in the key_pressed
285 key_pressed[ev.code] = ev.value;
295 if (ev.value > 0 && device_toggle_display(key_pressed, ev.code)) {
302 if (ev.value > 0 && device_reboot_now(key_pressed, ev.code)) {
500 return key_pressed[key];
  /external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/
SDL_biosevents.c 78 unsigned long key_pressed; local
79 key_pressed=Bconin(_CON);
80 bios_currentkeyboard[(key_pressed>>16)&(ATARIBIOS_MAXKEYS-1)]=0xFF;
SDL_gemdosevents.c 84 unsigned long key_pressed; local
85 key_pressed=Cnecin();
86 gemdos_currentkeyboard[(key_pressed>>16)&(ATARIBIOS_MAXKEYS-1)]=0xFF;

Completed in 985 milliseconds