diff options
author | 2011-06-13 16:58:40 +0000 | |
---|---|---|
committer | 2011-06-13 16:58:40 +0000 | |
commit | e32b5837c3f35b80502759f3de3e8cadf6625f4e (patch) | |
tree | 9073864ddc2d7ec2d5b83fb1c318218f41dc7d89 /include/utils | |
parent | fc0685652ea1617b93aed84c7674fcafd55a30f6 (diff) |
Updates to the Android SampleApp
http://codereview.appspot.com/4602049/
git-svn-id: http://skia.googlecode.com/svn/trunk@1567 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/android/AndroidKeyToSkKey.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/utils/android/AndroidKeyToSkKey.h b/include/utils/android/AndroidKeyToSkKey.h index 7b0a03570e..ad93661871 100644 --- a/include/utils/android/AndroidKeyToSkKey.h +++ b/include/utils/android/AndroidKeyToSkKey.h @@ -17,7 +17,7 @@ #ifndef _ANDROID_TO_SKIA_KEYCODES_H #define _ANDROID_TO_SKIA_KEYCODES_H -#include "keycodes.h" +#include "android/keycodes.h" #include "SkKey.h" // Convert an Android keycode to an SkKey. This is an incomplete list, only @@ -32,6 +32,8 @@ SkKey AndroidKeycodeToSkKey(int keycode) { return kUp_SkKey; case AKEYCODE_DPAD_DOWN: return kDown_SkKey; + case AKEYCODE_BACK: + return kBack_SkKey; default: return kNONE_SkKey; } |