Android: Added new key codes from API 24.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 09 Jul 2016 22:06:00 +0200
changeset 101914c5c73f91e49
parent 10190 a6ad6813b17b
child 10192 3a5779b13f69
Android: Added new key codes from API 24.
src/video/android/SDL_androidkeyboard.c
     1.1 --- a/src/video/android/SDL_androidkeyboard.c	Sat Jul 02 13:38:31 2016 -0300
     1.2 +++ b/src/video/android/SDL_androidkeyboard.c	Sat Jul 09 22:06:00 2016 +0200
     1.3 @@ -304,18 +304,22 @@
     1.4      SDL_SCANCODE_UNKNOWN, /* AKEYCODE_NAVIGATE_NEXT */
     1.5      SDL_SCANCODE_UNKNOWN, /* AKEYCODE_NAVIGATE_IN */
     1.6      SDL_SCANCODE_UNKNOWN, /* AKEYCODE_NAVIGATE_OUT */
     1.7 -    SDL_SCANCODE_UNKNOWN,
     1.8 -    SDL_SCANCODE_UNKNOWN,
     1.9 -    SDL_SCANCODE_UNKNOWN,
    1.10 -    SDL_SCANCODE_UNKNOWN,
    1.11 -    SDL_SCANCODE_UNKNOWN,
    1.12 -    SDL_SCANCODE_UNKNOWN,
    1.13 -    SDL_SCANCODE_UNKNOWN,
    1.14 -    SDL_SCANCODE_UNKNOWN,
    1.15 +    SDL_SCANCODE_UNKNOWN, /* AKEYCODE_STEM_PRIMARY */
    1.16 +    SDL_SCANCODE_UNKNOWN, /* AKEYCODE_STEM_1 */
    1.17 +    SDL_SCANCODE_UNKNOWN, /* AKEYCODE_STEM_2 */
    1.18 +    SDL_SCANCODE_UNKNOWN, /* AKEYCODE_STEM_3 */
    1.19 +    SDL_SCANCODE_UNKNOWN, /* AKEYCODE_DPAD_UP_LEFT */
    1.20 +    SDL_SCANCODE_UNKNOWN, /* AKEYCODE_DPAD_DOWN_LEFT */
    1.21 +    SDL_SCANCODE_UNKNOWN, /* AKEYCODE_DPAD_UP_RIGHT */
    1.22 +    SDL_SCANCODE_UNKNOWN, /* AKEYCODE_DPAD_DOWN_RIGHT */
    1.23      SDL_SCANCODE_UNKNOWN, /* AKEYCODE_MEDIA_SKIP_FORWARD */
    1.24      SDL_SCANCODE_UNKNOWN, /* AKEYCODE_MEDIA_SKIP_BACKWARD */
    1.25      SDL_SCANCODE_UNKNOWN, /* AKEYCODE_MEDIA_STEP_FORWARD */
    1.26      SDL_SCANCODE_UNKNOWN, /* AKEYCODE_MEDIA_STEP_BACKWARD */
    1.27 +    SDL_SCANCODE_UNKNOWN, /* AKEYCODE_SOFT_SLEEP */
    1.28 +    SDL_SCANCODE_CUT, /* AKEYCODE_CUT */
    1.29 +    SDL_SCANCODE_COPY, /* AKEYCODE_COPY */
    1.30 +    SDL_SCANCODE_PASTE, /* AKEYCODE_PASTE */
    1.31  };
    1.32  
    1.33  static SDL_Scancode