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

12

/external/libvncserver/examples/android/jni/
H A Dfbvncserver.c236 int scancode = 0; local
240 scancode = (code & 0xF) - 1;
241 if (scancode<0) scancode += 10;
242 scancode += KEY_1;
247 scancode = map[code & 0xF];
256 scancode = map[code & 0xF];
264 scancode = map[(code & 0x5F) - 'A'];
267 case 0x0003: scancode = KEY_CENTER; break;
268 case 0x0020: scancode
297 int scancode; local
[all...]
/external/syslinux/com32/cmenu/libmenu/
H A Dcom32io.c31 char inputc(char *scancode) argument
37 if (scancode)
38 *scancode = REG_AH(outreg);
H A Dcom32io.h39 char inputc(char *scancode); // Return ASCII char by val, and scancode by reference
H A Dcmenu.h141 unsigned int scancode);
/external/syslinux/gpxe/src/arch/i386/firmware/pcbios/
H A Dbios_console.c192 * Lowest BIOS scancode of interest
201 #define BIOS_KEY(scancode) ( (scancode) - BIOS_KEY_MIN )
216 * Get ANSI escape sequence corresponding to BIOS scancode
218 * @v scancode BIOS scancode
221 static const char * scancode_to_ansi_seq ( unsigned int scancode ) {
222 unsigned int bios_key = BIOS_KEY ( scancode );
228 DBG ( "Unrecognised BIOS scancode %02x\n", scancode );
[all...]
/external/syslinux/gpxe/src/interface/efi/
H A Defi_console.c199 * Get ANSI escape sequence corresponding to EFI scancode
201 * @v scancode EFI scancode
204 static const char * scancode_to_ansi_seq ( unsigned int scancode ) {
205 if ( scancode < ( sizeof ( ansi_sequences ) /
207 return ansi_sequences[scancode];
233 DBG2 ( "EFI read key stroke with unicode %04x scancode %04x\n",
/external/syslinux/com32/hdt/
H A Dhdt-menu.c98 __attribute__ ((unused)), t_menuitem * mi, int scancode)
103 if (scancode == KEY_F1 && mi->helpid != 0xFFFF) {
111 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN)) {
97 keys_handler(t_menusystem * ms __attribute__ ((unused)), t_menuitem * mi, int scancode) argument
H A Dhdt-menu.h90 __attribute__ ((unused)), t_menuitem * mi, int scancode);
/external/syslinux/bios/com32/cmenu/
H A Dtest.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) argument
186 if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) &&
H A Dtest2.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) argument
186 if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) &&
/external/syslinux/com32/cmenu/
H A Dcomplex.c70 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) argument
74 if ((scancode) == KEY_F1 && mi->helpid != 0xFFFF) { // If scancode of F1
79 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) &&
/external/syslinux/efi32/com32/cmenu/
H A Dtest.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) argument
186 if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) &&
H A Dtest2.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) argument
186 if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) &&
/external/syslinux/efi64/com32/cmenu/
H A Dtest.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) argument
186 if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) &&
H A Dtest2.c176 void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) argument
186 if ( (scancode == KEY_F1) && (mi->helpid != 0xFFFF) ) { // If scancode of F1 and non-trivial helpid
192 if ((scancode == KEY_TAB) && (mi->action == OPT_RUN) &&
/external/kernel-headers/original/uapi/linux/
H A Dkd.h141 unsigned int scancode, keycode; member in struct:kbkeycode
H A Dinput.h85 * @scancode: scancode represented in machine-endian form.
86 * @len: length of the scancode that resides in @scancode buffer.
87 * @index: index in the keymap, may be used instead of scancode
90 * should perform lookup in keymap by @index instead of @scancode
91 * @keycode: key code assigned to this scancode
94 * option of performing lookup either by @scancode itself or by @index
95 * in keymap entry. EVIOCGKEYCODE will also return scancode or index
104 __u8 scancode[3 member in struct:input_keymap_entry
[all...]
/external/strace/tests/
H A Dioctl_evdev.c186 printf("index=%" PRIu16 ", keycode=%s, scancode=[",
189 for (i = 0; i < ARRAY_SIZE(ike->scancode); ++i) {
192 printf("%" PRIx8, ike->scancode[i]);
/external/strace/tests-m32/
H A Dioctl_evdev.c186 printf("index=%" PRIu16 ", keycode=%s, scancode=[",
189 for (i = 0; i < ARRAY_SIZE(ike->scancode); ++i) {
192 printf("%" PRIx8, ike->scancode[i]);
/external/strace/tests-mx32/
H A Dioctl_evdev.c186 printf("index=%" PRIu16 ", keycode=%s, scancode=[",
189 for (i = 0; i < ARRAY_SIZE(ike->scancode); ++i) {
192 printf("%" PRIx8, ike->scancode[i]);
/external/strace/
H A Devdev.c228 tprints(", scancode=[");
229 for (i = 0; i < ARRAY_SIZE(ike.scancode); i++) {
232 tprintf("%" PRIx8, ike.scancode[i]);
/external/skqp/experimental/GLFWTest/
H A Dglfw_main.cpp26 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) { argument
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-linux.c7271 PRE_MEM_READ( "ioctl(KDGETKEYCODE).scancode",
7272 (Addr)&((struct vki_kbkeycode *)ARG3)->scancode,
7273 sizeof(((struct vki_kbkeycode *)ARG3)->scancode) );
7279 PRE_MEM_READ( "ioctl(KDSETKEYCODE).scancode",
7280 (Addr)&((struct vki_kbkeycode *)ARG3)->scancode,
7281 sizeof(((struct vki_kbkeycode *)ARG3)->scancode) );
/external/valgrind/include/vki/
H A Dvki-linux.h2288 unsigned int scancode, keycode; member in struct:vki_kbkeycode
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...

Completed in 2386 milliseconds

12