diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-10-29 22:19:53 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2010-11-05 13:27:35 -0700 |
commit | 51e7fe7545e3509ebb5c31c10440acd31cec89a2 (patch) | |
tree | c9826e9555c6ec96ba3061365bcb7ed2a555c43e /native/include/android/input.h | |
parent | 06a42367ce6b7116c451f9e3155196ef8806f861 (diff) | |
download | frameworks_base-51e7fe7545e3509ebb5c31c10440acd31cec89a2.zip frameworks_base-51e7fe7545e3509ebb5c31c10440acd31cec89a2.tar.gz frameworks_base-51e7fe7545e3509ebb5c31c10440acd31cec89a2.tar.bz2 |
Rename the locked meta key constants for clarity.
Also added some tests for LED setting.
Change-Id: I3fd86322afd07ae8de52d1ccbc2fae2c6d586641
Diffstat (limited to 'native/include/android/input.h')
-rw-r--r-- | native/include/android/input.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/native/include/android/input.h b/native/include/android/input.h index 729dd2e..861ec8b 100644 --- a/native/include/android/input.h +++ b/native/include/android/input.h @@ -116,14 +116,14 @@ enum { /* This mask is used to check whether the right META meta key is pressed. */ AMETA_META_RIGHT_ON = 0x40000, - /* This mask is used to check whether the CAPS LOCK meta key is latched. */ - AMETA_CAPS_LOCK_LATCHED = 0x100000, + /* This mask is used to check whether the CAPS LOCK meta key is on. */ + AMETA_CAPS_LOCK_ON = 0x100000, - /* This mask is used to check whether the NUM LOCK meta key is latched. */ - AMETA_NUM_LOCK_LATCHED = 0x200000, + /* This mask is used to check whether the NUM LOCK meta key is on. */ + AMETA_NUM_LOCK_ON = 0x200000, - /* This mask is used to check whether the SCROLL LOCK meta key is latched. */ - AMETA_SCROLL_LOCK_LATCHED = 0x400000, + /* This mask is used to check whether the SCROLL LOCK meta key is on. */ + AMETA_SCROLL_LOCK_ON = 0x400000, }; /* |