summaryrefslogtreecommitdiffstats
path: root/data/keyboards
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-11-29 17:37:49 -0800
committerJeff Brown <jeffbrown@google.com>2010-11-30 17:15:49 -0800
commit47e6b1b5eef8ee99872f278f66bc498c4fcca0d8 (patch)
treeef5a7c87b8dca433ea9707c1289ae7c8d2ba3787 /data/keyboards
parent735206f121cb2a11b3397870e6565178627e0aa3 (diff)
downloadframeworks_base-47e6b1b5eef8ee99872f278f66bc498c4fcca0d8.zip
frameworks_base-47e6b1b5eef8ee99872f278f66bc498c4fcca0d8.tar.gz
frameworks_base-47e6b1b5eef8ee99872f278f66bc498c4fcca0d8.tar.bz2
Support non-orientation aware keyboards and other devices.
Fixed a bug with dpad keys on external keyboards being rotated according to the display orientation by adding a new input device configuration property called "keyboard.orientationAware". Added a mechanism for overriding the key layout and key character map in the input device configuration file using the new "keyboard.layout" and "keyboard.characterMap" properties. Also added "trackball.orientationAware", "touch.orientationAware" and "touch.deviceType" configuration properties. Rewrote the configuration property reading code in native code so that it can be used by EventHub and other components. Added basic support for installable idc, kl, and kcm files in /data/system/devices. However, there is no provision for copying files there yet. Disabled long-press character pickers on full keyboards so that key repeating works as expected. Change-Id: I1bd9f0c3d344421db444e7d271eb09bc8bab4791
Diffstat (limited to 'data/keyboards')
-rw-r--r--data/keyboards/Apple_Wireless_Keyboard.kl2
-rw-r--r--data/keyboards/Logitech_USB_Receiver.kl2
-rw-r--r--data/keyboards/qwerty.kcm4
3 files changed, 4 insertions, 4 deletions
diff --git a/data/keyboards/Apple_Wireless_Keyboard.kl b/data/keyboards/Apple_Wireless_Keyboard.kl
index 9262a03..5234d58 100644
--- a/data/keyboards/Apple_Wireless_Keyboard.kl
+++ b/data/keyboards/Apple_Wireless_Keyboard.kl
@@ -101,7 +101,7 @@ key 108 DPAD_DOWN
key 109 PAGE_DOWN
key 110 NUMPAD_ENTER
key 111 FORWARD_DEL
-key 113 VALUME_MUTE
+key 113 VOLUME_MUTE
key 114 VOLUME_DOWN
key 115 VOLUME_UP
# key 120 switch applications
diff --git a/data/keyboards/Logitech_USB_Receiver.kl b/data/keyboards/Logitech_USB_Receiver.kl
index 23a8f54..aa7c0ee 100644
--- a/data/keyboards/Logitech_USB_Receiver.kl
+++ b/data/keyboards/Logitech_USB_Receiver.kl
@@ -105,7 +105,7 @@ key 108 DPAD_DOWN
key 109 PAGE_DOWN
key 110 NUMPAD_ENTER
key 111 FORWARD_DEL
-key 113 VALUME_MUTE
+key 113 VOLUME_MUTE
key 114 VOLUME_DOWN
key 115 VOLUME_UP
key 119 MEDIA_PAUSE
diff --git a/data/keyboards/qwerty.kcm b/data/keyboards/qwerty.kcm
index f31333e..f3e1524 100644
--- a/data/keyboards/qwerty.kcm
+++ b/data/keyboards/qwerty.kcm
@@ -259,9 +259,9 @@ key COMMA {
label: ','
number: ','
base: ','
- shift, capslock: ';'
+ shift: ';'
alt: ';'
- shift+alt, capslock+alt: '|'
+ shift+alt: '|'
}
key PERIOD {