summaryrefslogtreecommitdiffstats
path: root/overlay
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2015-01-10 01:15:53 +0100
committerZiyan <jaraidaniel@gmail.com>2015-04-11 20:24:53 +0200
commit78cd8974366d0e6030d61115a7dd58ae3df506f4 (patch)
treef7e8017fe1d44cac4a3b26dbbd6cb5791a5219ca /overlay
parente2f0eb0417d31e691c24b7434f30b755963c349c (diff)
downloaddevice_samsung_tuna-78cd8974366d0e6030d61115a7dd58ae3df506f4.zip
device_samsung_tuna-78cd8974366d0e6030d61115a7dd58ae3df506f4.tar.gz
device_samsung_tuna-78cd8974366d0e6030d61115a7dd58ae3df506f4.tar.bz2
tuna: add hardware key overlays
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index bb11ec6..0dd029c 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -267,4 +267,32 @@
<string name="config_perf_profile_prop">sys.perf.profile</string>
<string name="config_perf_profile_default_entry">1</string>
+ <!-- Hardware 'face' keys present on the device, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Assistant (search)
+ 16 - App switch
+ 32 - Camera
+ 64 - Volume rocker
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareKeys">64</integer>
+
+ <!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Assistant (search)
+ 16 - App switch
+ 32 - Camera
+ 64 - Volume rocker
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareWakeKeys">64</integer>
+
</resources>