Home
last modified time | relevance | path

Searched refs:vga_keymap (Results 1 – 4 of 4) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/svga/
DSDL_svgaevents.c46 static Uint16 vga_keymap[NUM_VGAKEYMAPS][NR_KEYS]; variable
49 static keymap_t *vga_keymap = NULL; variable
69 SDL_memset(vga_keymap[map], 0, NR_KEYS*sizeof(Uint16)); in SVGA_initkeymaps()
91 vga_keymap[map][i]=entry.kb_value; in SVGA_initkeymaps()
92 vga_keymap[map][i]+= '0'; in SVGA_initkeymaps()
95 vga_keymap[map][i]=K(KT_ASCII,'+'); in SVGA_initkeymaps()
98 vga_keymap[map][i]=K(KT_ASCII,'-'); in SVGA_initkeymaps()
101 vga_keymap[map][i]=K(KT_ASCII,'*'); in SVGA_initkeymaps()
104 vga_keymap[map][i]=K(KT_ASCII,'/'); in SVGA_initkeymaps()
107 vga_keymap[map][i]=K(KT_ASCII,'\r'); in SVGA_initkeymaps()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/
DSDL_vglevents.c42 static keymap_t *vga_keymap = NULL; variable
58 vga_keymap = SDL_malloc(sizeof(keymap_t)); in VGL_initkeymaps()
59 if ( ! vga_keymap ) { in VGL_initkeymaps()
63 if (ioctl(fd, GIO_KEYMAP, vga_keymap) == -1) { in VGL_initkeymaps()
64 SDL_free(vga_keymap); in VGL_initkeymaps()
65 vga_keymap = NULL; in VGL_initkeymaps()
277 if ( SDL_TranslateUNICODE && vga_keymap ) { in TranslateKey()
292 if ( !(vga_keymap->key[scancode].spcl & (0x80 >> map)) ) { in TranslateKey()
293 keysym->unicode = vga_keymap->key[scancode].map[map]; in TranslateKey()
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
DSDL_gsevents.c56 static Uint16 vga_keymap[NUM_VGAKEYMAPS][NR_KEYS]; variable
78 SDL_memset(vga_keymap[map], 0, NR_KEYS*sizeof(Uint16)); in GS_vgainitkeymaps()
104 vga_keymap[map][i]=entry.kb_value; in GS_vgainitkeymaps()
105 vga_keymap[map][i]+= '0'; in GS_vgainitkeymaps()
108 vga_keymap[map][i]=K(KT_ASCII,'+'); in GS_vgainitkeymaps()
111 vga_keymap[map][i]=K(KT_ASCII,'-'); in GS_vgainitkeymaps()
114 vga_keymap[map][i]=K(KT_ASCII,'*'); in GS_vgainitkeymaps()
117 vga_keymap[map][i]=K(KT_ASCII,'/'); in GS_vgainitkeymaps()
120 vga_keymap[map][i]=K(KT_ASCII,'\r'); in GS_vgainitkeymaps()
123 vga_keymap[map][i]=K(KT_ASCII,','); in GS_vgainitkeymaps()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
DSDL_fbevents.c63 static Uint16 vga_keymap[NUM_VGAKEYMAPS][NR_KEYS]; variable
85 SDL_memset(vga_keymap[map], 0, NR_KEYS*sizeof(Uint16)); in FB_vgainitkeymaps()
111 vga_keymap[map][i]=entry.kb_value; in FB_vgainitkeymaps()
112 vga_keymap[map][i]+= '0'; in FB_vgainitkeymaps()
115 vga_keymap[map][i]=K(KT_ASCII,'+'); in FB_vgainitkeymaps()
118 vga_keymap[map][i]=K(KT_ASCII,'-'); in FB_vgainitkeymaps()
121 vga_keymap[map][i]=K(KT_ASCII,'*'); in FB_vgainitkeymaps()
124 vga_keymap[map][i]=K(KT_ASCII,'/'); in FB_vgainitkeymaps()
127 vga_keymap[map][i]=K(KT_ASCII,'\r'); in FB_vgainitkeymaps()
130 vga_keymap[map][i]=K(KT_ASCII,','); in FB_vgainitkeymaps()
[all …]