diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-06-30 16:10:35 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2010-07-13 17:04:57 -0700 |
commit | 8575a87b0d61d21c286321afdf193f4fac53d681 (patch) | |
tree | 3f87b3e49aaca93f76f4b739c904d416296d26c1 /libs/ui/tests | |
parent | 837a0d0fb2c3fba8082d47d04cb6120af1eb9a54 (diff) | |
download | frameworks_native-8575a87b0d61d21c286321afdf193f4fac53d681.zip frameworks_native-8575a87b0d61d21c286321afdf193f4fac53d681.tar.gz frameworks_native-8575a87b0d61d21c286321afdf193f4fac53d681.tar.bz2 |
Add initial gamepad support.
Change-Id: I0439648f6eb5405f200e4223c915eb3a418b32b9
Diffstat (limited to 'libs/ui/tests')
-rw-r--r-- | libs/ui/tests/InputPublisherAndConsumer_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ui/tests/InputPublisherAndConsumer_test.cpp b/libs/ui/tests/InputPublisherAndConsumer_test.cpp index 2d6b531..55504f2 100644 --- a/libs/ui/tests/InputPublisherAndConsumer_test.cpp +++ b/libs/ui/tests/InputPublisherAndConsumer_test.cpp @@ -76,7 +76,7 @@ void InputPublisherAndConsumerTest::PublishAndConsumeKeyEvent() { const int32_t nature = INPUT_EVENT_NATURE_KEY; const int32_t action = KEY_EVENT_ACTION_DOWN; const int32_t flags = KEY_EVENT_FLAG_FROM_SYSTEM; - const int32_t keyCode = KEYCODE_ENTER; + const int32_t keyCode = AKEYCODE_ENTER; const int32_t scanCode = 13; const int32_t metaState = META_ALT_LEFT_ON | META_ALT_ON; const int32_t repeatCount = 1; |