commit | e32b5837c3f35b80502759f3de3e8cadf6625f4e | [log] [tgz] |
---|---|---|
author | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jun 13 16:58:40 2011 +0000 |
committer | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jun 13 16:58:40 2011 +0000 |
tree | 9073864ddc2d7ec2d5b83fb1c318218f41dc7d89 | |
parent | fc0685652ea1617b93aed84c7674fcafd55a30f6 [diff] [blame] |
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
diff --git a/include/utils/android/AndroidKeyToSkKey.h b/include/utils/android/AndroidKeyToSkKey.h index 7b0a035..ad93661 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 @@ return kUp_SkKey; case AKEYCODE_DPAD_DOWN: return kDown_SkKey; + case AKEYCODE_BACK: + return kBack_SkKey; default: return kNONE_SkKey; }