From 7e78c84c2df50dabb3e0de921cabb842896e4f20 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Tue, 30 Jul 2013 23:24:23 +0200 Subject: [PATCH] Added support for the two new key codes from Android 4.3. --- src/video/android/SDL_androidkeyboard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/android/SDL_androidkeyboard.c b/src/video/android/SDL_androidkeyboard.c index 512007a2f..5381de64d 100644 --- a/src/video/android/SDL_androidkeyboard.c +++ b/src/video/android/SDL_androidkeyboard.c @@ -260,6 +260,8 @@ static SDL_Scancode Android_Keycodes[] = { SDL_SCANCODE_UNKNOWN, /* AKEYCODE_RO */ SDL_SCANCODE_UNKNOWN, /* AKEYCODE_KANA */ SDL_SCANCODE_UNKNOWN, /* AKEYCODE_ASSIST */ + SDL_SCANCODE_BRIGHTNESSDOWN, /* AKEYCODE_BRIGHTNESS_DOWN */ + SDL_SCANCODE_BRIGHTNESSUP, /* AKEYCODE_BRIGHTNESS_UP */ }; static SDL_Scancode