Added support for the two new key codes from Android 4.3.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Tue, 30 Jul 2013 23:24:23 +0200
changeset 754866f9d44f9717
parent 7547 abdea1385dbb
child 7549 c0a35efb1813
Added support for the two new key codes from Android 4.3.
src/video/android/SDL_androidkeyboard.c
     1.1 --- a/src/video/android/SDL_androidkeyboard.c	Tue Jul 30 00:02:45 2013 -0700
     1.2 +++ b/src/video/android/SDL_androidkeyboard.c	Tue Jul 30 23:24:23 2013 +0200
     1.3 @@ -260,6 +260,8 @@
     1.4      SDL_SCANCODE_UNKNOWN, /* AKEYCODE_RO */
     1.5      SDL_SCANCODE_UNKNOWN, /* AKEYCODE_KANA */
     1.6      SDL_SCANCODE_UNKNOWN, /* AKEYCODE_ASSIST */
     1.7 +    SDL_SCANCODE_BRIGHTNESSDOWN, /* AKEYCODE_BRIGHTNESS_DOWN */
     1.8 +    SDL_SCANCODE_BRIGHTNESSUP, /* AKEYCODE_BRIGHTNESS_UP */
     1.9  };
    1.10  
    1.11  static SDL_Scancode