/external/qemu/distrib/sdl-1.2.12/src/video/svga/ |
SDL_svgaevents_c.h | 32 extern void SVGA_keyboardcallback(int scancode, int pressed);
|
/frameworks/base/services/jni/ |
com_android_server_KeyInputQueue.cpp | 68 int32_t scancode, keycode; local 72 bool res = hub->getEvent(&deviceId, &type, &scancode, &keycode, 77 env->SetIntField(event, gInputOffsets.mScancode, (jint)scancode); 227 jint deviceId, jint scancode) 234 gHub->scancodeToKeycode(deviceId, scancode, &keycode, &flags); 335 = env->GetFieldID(inputEvent, "scancode", "I"); 336 LOG_FATAL_IF(gInputOffsets.mScancode == NULL, "Unable to find RawInputEvent.scancode");
|
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
SDL_gsevents.c | 54 /* The translation tables from a console scancode to a SDL keysym */ 59 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 765 int scancode; local 770 scancode = keybuf[i] & 0x7F; 776 TranslateKey(scancode, &keysym); 936 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) 939 keysym->scancode = scancode; 940 keysym->sym = keymap[scancode]; 963 if ( KTYP(vga_keymap[map][scancode]) == KT_LETTER ) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
SDL_dgaevents.c | 89 keysym.scancode = keycode; 125 keysym.scancode = keycode;
|
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/ |
SDL_QuartzEvents.m | 195 Up there we setup a static scancode->keysym map. However, it will not 267 the scancode/keysym. 280 key.scancode = [ event keyCode ]; 281 key.sym = keymap [ key.scancode ]; 289 key.scancode = [ event keyCode ]; 290 key.sym = keymap [ key.scancode ]; 298 key.scancode = 0; 325 key.scancode = 0; 367 key.scancode = 0; 398 key.scancode = 0 [all...] |
SDL_QuartzKeys.h | 24 /* These are the Macintosh key scancode constants -- from Inside Macintosh */
|
/external/kernel-headers/original/linux/ |
input.h | 834 #define INPUT_KEYCODE(dev, scancode) ((dev->keycodesize == 1) ? ((u8*)dev->keycode)[scancode] : \ 835 ((dev->keycodesize == 2) ? ((u16*)dev->keycode)[scancode] : (((u32*)dev->keycode)[scancode]))) 837 #define SET_INPUT_KEYCODE(dev, scancode, val) \ 842 __old = k[scancode]; \ 843 k[scancode] = val; \ 848 __old = k[scancode]; \ 849 k[scancode] = val; \ 854 __old = k[scancode]; \ [all...] |
/development/pdk/docs/porting/ |
keymaps_keyboard_input.jd | 29 <p>Android's input event device is structured around an interrupt or polling routine that captures the device-specific scancode and converts it to a standard form acceptable to Linux (as defined in <code>input.h</code>) before passing it to the kernel with <code>input_event()</code>.</p> 41 <td>Events are typically positional. For example, the top-left position on a keypad returns 16 regardless of whether that key is printed with a Q (as on a QWERTY keypad) or an A (as on an AZERTY keypads). This first conversion by the Linux Keyboard Driver yields a scancode (for example, 16).</td> 45 <td>Window manager maps scancode to keycode.</td> 46 <td>When the window manager reads a key event out of the driver, it maps the scancode to a keycode using a key layout map file. Typically, the keycode is the primary symbol screen-printed on a key. For example, <code>KEYCODE_DPAD_CENTER</code> is the center button on the five-way navigation control. Even though ALT + G generates a "?" character, <code>KEYCODE_G</code> is the keycode.</td> 50 <td>Window manager sends both the scancode and the keycode to the application.</td> 51 <td>Both the scancode and keycode are handled by the view with focus. 74 <li>Key definitions: Key definitions follow the syntax <code>key SCANCODE KEYCODE [FLAGS...]</code>, where <code>SCANCODE</code> is a number, <code>KEYCODE</code> is defined in your specific keylayout file (<code>android.keylayout.xxx</code>), and potential <code>FLAGS</code> are defined as follows: 214 <li>Key definitions: Key definitions have the syntax <code>key SCANCODE CHARACTER [...]</code> where <code>SCANCODE</code> is a number and <code>CHARACTER</code> values are either UTF-8 characters in quotation mark (…) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/ |
SDL_macevents.c | 59 /* The translation table from a macintosh key scancode to a SDL keysym */ 61 static SDL_keysym *TranslateKey(int scancode, int modifiers, 189 keysym.scancode = 0; 237 fprintf(stderr,"Scancode: 0x%2.2X\n",i); 590 /* Up there we setup a static scancode->keysym map. However, it will not 649 static SDL_keysym *TranslateKey(int scancode, int modifiers, 653 keysym->scancode = scancode; 654 keysym->sym = MAC_keymap[keysym->scancode]; 669 keysym->scancode|modifiers, &state) & 0xFFFF [all...] |
SDL_mackeys.h | 23 /* These are the Macintosh key scancode constants -- from Inside Macintosh */
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
SDL_fbevents.c | 61 /* The translation tables from a console scancode to a SDL keysym */ 66 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 990 int scancode; local 995 scancode = keybuf[i] & 0x7F; 1001 TranslateKey(scancode, &keysym); 1204 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) 1207 keysym->scancode = scancode; 1208 keysym->sym = keymap[scancode]; 1231 if ( KTYP(vga_keymap[map][scancode]) == KT_LETTER ) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
SDL_gemevents.c | 275 int scancode; local 278 scancode=(kc>>8) & (ATARIBIOS_MAXKEYS-1); 279 gem_currentkeyboard[scancode]=0xFF;
|
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
SDL_dx5events.c | 58 /* The translation table from a DirectInput scancode to an SDL keysym */ 60 static SDL_keysym *TranslateKey(UINT scancode, SDL_keysym *keysym, int pressed); 823 static SDL_keysym *TranslateKey(UINT scancode, SDL_keysym *keysym, int pressed) 826 keysym->scancode = (unsigned char)scancode; 827 keysym->sym = DIK_keymap[scancode]; 837 vkey = MapVirtualKey(scancode, 1); 843 if (SDL_ToUnicode(vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) == 1)
|
/external/quake/quake/src/QW/scitech/include/ |
mglwin.h | 144 /* Determine if a specific scancode'ed key is held down (PC specific) */
146 bool MGLAPI EVT_isKeyDown(uchar scanCode);
|
/external/quake/quake/src/WinQuake/scitech/INCLUDE/ |
MGLWIN.H | 144 /* Determine if a specific scancode'ed key is held down (PC specific) */
146 bool MGLAPI EVT_isKeyDown(uchar scanCode);
|
/bionic/libc/kernel/common/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/ |
SDL_atarikeys.h | 24 * Atari Scancode definitions
|
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/ |
SDL_vglevents_c.h | 31 extern void VGL_keyboardcallback(int scancode, int pressed);
|
/frameworks/base/include/ui/ |
EventHub.h | 78 status_t scancodeToKeycode(int32_t deviceId, int scancode,
|
/ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|