comparison src/video/android/SDL_androidkeyboard.c @ 5225:1fbe1c202501

Renamed SDL_Key to SDL_Keycode to clarify terminology.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 07 Feb 2011 10:40:21 -0800
parents c1a92e61907d
children b530ef003506
comparison
equal deleted inserted replaced
5224:c1a92e61907d 5225:1fbe1c202501
28 #include "SDL_androidkeyboard.h" 28 #include "SDL_androidkeyboard.h"
29 29
30 30
31 void Android_InitKeyboard() 31 void Android_InitKeyboard()
32 { 32 {
33 SDL_Key keymap[SDL_NUM_SCANCODES]; 33 SDL_Keycode keymap[SDL_NUM_SCANCODES];
34 34
35 /* Add default scancode to key mapping */ 35 /* Add default scancode to key mapping */
36 SDL_GetDefaultKeymap(keymap); 36 SDL_GetDefaultKeymap(keymap);
37 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES); 37 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES);
38 } 38 }