Home
last modified time | relevance | path

Searched refs:scancode (Results 1 – 25 of 25) sorted by relevance

/external/libvncserver/examples/android/jni/
Dfbvncserver.c236 int scancode = 0; in keysym2scancode() local
240 scancode = (code & 0xF) - 1; in keysym2scancode()
241 if (scancode<0) scancode += 10; in keysym2scancode()
242 scancode += KEY_1; in keysym2scancode()
247 scancode = map[code & 0xF]; in keysym2scancode()
256 scancode = map[code & 0xF]; in keysym2scancode()
264 scancode = map[(code & 0x5F) - 'A']; in keysym2scancode()
267 case 0x0003: scancode = KEY_CENTER; break; in keysym2scancode()
268 case 0x0020: scancode = KEY_SPACE; break; in keysym2scancode()
269 case 0x0023: scancode = KEY_SHARP; break; in keysym2scancode()
[all …]
/external/syslinux/gpxe/src/arch/i386/firmware/pcbios/
Dbios_console.c201 #define BIOS_KEY(scancode) ( (scancode) - BIOS_KEY_MIN ) argument
221 static const char * scancode_to_ansi_seq ( unsigned int scancode ) { in scancode_to_ansi_seq() argument
222 unsigned int bios_key = BIOS_KEY ( scancode ); in scancode_to_ansi_seq()
228 DBG ( "Unrecognised BIOS scancode %02x\n", scancode ); in scancode_to_ansi_seq()
/external/syslinux/com32/cmenu/libmenu/
Dcom32io.c31 char inputc(char *scancode) in inputc() argument
37 if (scancode) in inputc()
38 *scancode = REG_AH(outreg); in inputc()
Dcom32io.h39 char inputc(char *scancode); // Return ASCII char by val, and scancode by reference
Dcmenu.h141 unsigned int scancode);
/external/syslinux/gpxe/src/interface/efi/
Defi_console.c204 static const char * scancode_to_ansi_seq ( unsigned int scancode ) { in scancode_to_ansi_seq() argument
205 if ( scancode < ( sizeof ( ansi_sequences ) / in scancode_to_ansi_seq()
207 return ansi_sequences[scancode]; in scancode_to_ansi_seq()
/external/syslinux/com32/hdt/
Dhdt-menu.c98 __attribute__ ((unused)), t_menuitem * mi, int scancode) in keys_handler() argument
103 if (scancode == KEY_F1 && mi->helpid != 0xFFFF) { in keys_handler()
111 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN)) { in keys_handler()
Dhdt-menu.h90 __attribute__ ((unused)), t_menuitem * mi, int scancode);
/external/syslinux/efi32/com32/cmenu/
Dtest.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) in keys_handler() argument
186 …if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid in keys_handler()
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) && in keys_handler()
Dtest2.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) in keys_handler() argument
186 …if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid in keys_handler()
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) && in keys_handler()
/external/syslinux/com32/cmenu/
Dcomplex.c70 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) in keys_handler() argument
74 if ((scancode) == KEY_F1 && mi->helpid != 0xFFFF) { // If scancode of F1 in keys_handler()
79 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) && in keys_handler()
Dadv_menu.tpl196 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode)
206 …if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid
212 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) &&
/external/syslinux/bios/com32/cmenu/
Dtest.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) in keys_handler() argument
186 …if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid in keys_handler()
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) && in keys_handler()
Dtest2.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) in keys_handler() argument
186 …if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid in keys_handler()
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) && in keys_handler()
/external/syslinux/efi64/com32/cmenu/
Dtest.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) in keys_handler() argument
186 …if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid in keys_handler()
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) && in keys_handler()
Dtest2.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) in keys_handler() argument
186 …if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid in keys_handler()
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) && in keys_handler()
/external/strace/tests/
Dioctl_evdev.c189 for (i = 0; i < ARRAY_SIZE(ike->scancode); ++i) { in main()
192 printf("%" PRIx8, ike->scancode[i]); in main()
/external/strace/tests-mx32/
Dioctl_evdev.c189 for (i = 0; i < ARRAY_SIZE(ike->scancode); ++i) { in main()
192 printf("%" PRIx8, ike->scancode[i]); in main()
/external/strace/tests-m32/
Dioctl_evdev.c189 for (i = 0; i < ARRAY_SIZE(ike->scancode); ++i) { in main()
192 printf("%" PRIx8, ike->scancode[i]); in main()
/external/kernel-headers/original/uapi/linux/
Dkd.h140 unsigned int scancode, keycode; member
Dinput.h98 __u8 scancode[32]; member
/external/strace/
Devdev.c228 for (i = 0; i < ARRAY_SIZE(ike.scancode); i++) { in keycode_V2_ioctl()
231 tprintf("%" PRIx8, ike.scancode[i]); in keycode_V2_ioctl()
/external/skia/experimental/GLFWTest/
Dglfw_main.cpp27 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) { in key_callback() argument
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c7272 (Addr)&((struct vki_kbkeycode *)ARG3)->scancode, in PRE()
7273 sizeof(((struct vki_kbkeycode *)ARG3)->scancode) ); in PRE()
7280 (Addr)&((struct vki_kbkeycode *)ARG3)->scancode, in PRE()
7281 sizeof(((struct vki_kbkeycode *)ARG3)->scancode) ); in PRE()
/external/valgrind/include/vki/
Dvki-linux.h2288 unsigned int scancode, keycode; member