summaryrefslogtreecommitdiffstats
path: root/data/keyboards
Commit message (Collapse)AuthorAgeFilesLines
* Mark AVRCP devices as internal.Michael Wright2015-03-111-0/+19
| | | | | | | This prevents devices from waking up when an AVRCP key is injected. Bug: 19685657 Change-Id: I97137531da07b61211b792b407c4c9a09b231839
* Merge "Added Razer USA, Ltd serval"Michael Wright2014-12-011-0/+42
|\
| * Added Razer USA, Ltd servalStuart Wells2014-11-171-0/+42
| | | | | | | | Change-Id: I76b7c36068c3d10ab4acb3123550ef115db0d3d2
* | Add keylayout for Logitech RedHawk GamepadMathieu Meisser2014-11-271-0/+65
|/ | | | Change-Id: Iad03de3384052b360d6b9d887ca9540de68cd21e
* Add keylayout for Asus GamepadMichael Wright2014-09-231-0/+42
| | | | | Bug: 17627642 Change-Id: I9dd76bbc3ea0493d5a54479ef4dc94c520e35433
* Remove Rhodi keylayoutMichael Wright2014-09-161-42/+0
| | | | | | | | | Looks like Broadcom re-used the Rhodi PID since we never shipped. Remove the keylayout so we don't accidentally use it for other devices. Bug: 17504946 Change-Id: Ia11ad40f8ba7d49f82e7f68d881cf7c9bfafcb37
* Map KEY_VOICECOMMAND to KEYCODE_VOICE_ASSISTMichael Wright2014-09-051-0/+1
| | | | | | | This is to simplify Project Watson requirements and enable USB Audio to easily implement similar functionality to the Watson headsets. Change-Id: Idd0a0cd6c6ba4a977090fb338d9241046f0380e6
* Add layout for OnLive controller with USB adapterMichael Wright2014-05-301-0/+35
| | | | Change-Id: Ie21ba6550f62eb4797e0e51104b99c2a4a7c44d7
* Add KL file for Logitech F310Michael Wright2014-05-211-0/+36
| | | | Change-Id: I03f4fd74fb54571e2045b9289228150a348c994a
* am e8628797: am 09446329: am 52025796: Merge "Map KEY_APPSELECT to APP_SWITCH."Michael Wright2014-05-021-0/+2
|\ | | | | | | | | * commit 'e8628797833dfab1319d7a17f9ff465de760c633': Map KEY_APPSELECT to APP_SWITCH.
| * am 09446329: am 52025796: Merge "Map KEY_APPSELECT to APP_SWITCH."Michael Wright2014-05-021-0/+2
| |\ | | | | | | | | | | | | * commit '09446329b1afbbc8b56885e61ed66841b59532b2': Map KEY_APPSELECT to APP_SWITCH.
| | * am 52025796: Merge "Map KEY_APPSELECT to APP_SWITCH."Michael Wright2014-05-021-0/+2
| | |\ | | | | | | | | | | | | | | | | * commit '52025796cd264fd8ba3851c8e42fd5508366456a': Map KEY_APPSELECT to APP_SWITCH.
| | | * Map KEY_APPSELECT to APP_SWITCH.Olivier Gay2014-05-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iec801f2edfec9923aac088cb66663f64d62b3df6 Signed-off-by: Olivier Gay <ogay@logitech.com> Signed-off-by: Mathieu Meisser <mmeisser@logitech.com>
| * | | Utilize new Android LED constants. DO NOT MERGEMichael Wright2014-03-111-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | Also, have EventHub manage game controllers' player LEDs Change-Id: Ic7dba19ad236a3c7d1aff5d3f938bd239b98d51d
| * | | am c48c9626: am 82ec1442: Merge "DO NOT MERGE Revert "Revert "Add PLAY and ↵Zhihai Xu2014-03-111-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | PAUSE keycodes and remove PLAY_PAUSE keycode.""" into klp-dev * commit 'c48c9626bd2eb91aab33a034baf139aa2b92671d': DO NOT MERGE Revert "Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode.""
| | * | DO NOT MERGE Revert "Revert "Add PLAY and PAUSE keycodes and remove ↵Zhihai Xu2014-03-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PLAY_PAUSE keycode."" This reverts commit 371427b53c70d1a71012de404c29187fe303a22a. bug:12099469 Change-Id: I497832b54856a9909fc8651ee67555e02e0e763e
* | | | Improve Gamepad fallbacks for text entry.Michael Wright2014-04-291-2/+2
| | | | | | | | | | | | | | | | Change-Id: Ia8b05730a9b41b93006e678aba2d182748e56083
* | | | Move key attribute information into KeyEvent.Michael Wright2014-04-285-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This consolidates all of the information that was in the native KeyEvent and the KeyLayout files into the managed KeyEvent class. It also moves the definition for all of the key names to the native side, rather than having them in both places. Change-Id: I172e3b554e7eb52c79ae2ec406ef4332e8b25ffa
* | | | Add Fire TV remote key layout.Tim Kilbourn2014-04-181-0/+27
| | | | | | | | | | | | | | | | Change-Id: Ida72c48701bf0366f488f1c99ab17e0e5c45de78
* | | | am 9e3de5f7: am 6f9f8e7a: am 01b5e765: Merge "Declare KEYCODE_SLEEP and ↵Jeff Brown2014-03-081-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | KEYCODE_WAKEUP." into klp-modular-dev * commit '9e3de5f70d77f7152b25fec6c27b73d037c1376d': Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.
| * | | Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.Jeff Brown2014-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These new keys behave in similarly to KEYCODE_POWER but do not simply toggle between awake and asleep states. Sleep puts the device to sleep if it is awake. Wakeup wakes up the device if it is asleep. Bug: 12938999 Change-Id: I260fb918cc858882fe06fa880910df5763a76c5d
* | | | am 78e208ac: am 6b661fdc: am dd9f7cb2: Add Odie KL file.Michael Wright2014-03-061-0/+42
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '78e208accebd68fd1dc634a57323cafa1143d6ed': Add Odie KL file.
| * | | Add Odie KL file.Michael Wright2014-03-051-0/+42
| |/ / | | | | | | | | | Change-Id: I74cc90a3c66e876db51da8f9fd8ced3bac373032
| * | Revert Japanese special case fallback keys.Michael Wright2014-02-261-1/+125
| |/ | | | | | | | | | | | | | | | | Reverts commits 4567e40eb04589d211af82f2dcb16cb3955c605e and a977707d6e7006d11cfde045f187e777b31b9e04, which added special case fallbacks for game controllers in the Japanese locale. Bug: 12923922 Change-Id: I229126e589e11fb5de86772ef9c59d09723af941
* | Remove Japanese button swapMichael Wright2014-02-141-1/+125
| | | | | | | | | | Bug: 12923922 Change-Id: I4960d8189e751514a595823d7ed9b273e3ff8eb8
* | Merge "Revert "Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE ↵Zhihai Xu2014-01-101-2/+2
|\ \ | | | | | | | | | keycode."""
| * | Revert "Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode.""Zhihai Xu2014-01-071-2/+2
| | | | | | | | | | | | | | | | | | This reverts commit 371427b53c70d1a71012de404c29187fe303a22a. Change-Id: I497832b54856a9909fc8651ee67555e02e0e763e
* | | Fix Rhodi KL file axesMichael Wright2014-01-081-4/+4
| | | | | | | | | | | | Change-Id: Ifb779c7730ed4b69325bf57aa7629c663ee4cb5c
* | | Add Rhodi kl fileMichael Wright2013-12-181-0/+42
|/ / | | | | | | Change-Id: I950fd2df88b6100dce29e97fd1d9b292ed51fffe
* | am 86271499: am f2194693: am 371427b5: Revert "Add PLAY and PAUSE keycodes ↵Matthew Xie2013-11-041-2/+2
|\ \ | |/ | | | | | | | | | | and remove PLAY_PAUSE keycode." * commit '86271499bbac0537630297a670ed67b869cd54d5': Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode."
| * Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode."Matthew Xie2013-11-011-2/+2
| | | | | | | | | | | | | | This reverts commit 7a863b4bdae1d01d4ac972fe8ff8968bbfed6709. bug 11325212 Change-Id: I8b50aec4ae39894a854583a74bda4db3445d3d67
* | Utilize new Android LED constantsMichael Wright2013-10-181-0/+13
|/ | | | | | Also, have EventHub manage game controllers' player LEDs Change-Id: Ic0a1515979d72a30d182d51d89ca6753c5bd7bf8
* Merge "Special case game controller fallback keys for Japan" into klp-devMichael Wright2013-09-071-125/+1
|\
| * Special case game controller fallback keys for JapanMichael Wright2013-08-261-125/+1
| | | | | | | | | | Bug: 10306633 Change-Id: I647fc5286678ddd85599a00e68e2fd70c2c3db49
* | Fix broken copy of kl/kcm/idc files to system imageMichael Wright2013-09-051-3/+3
| | | | | | | | | | Bug: 10633915 Change-Id: I244b85dc92d50bf8bdcfdf0fe32556eff8c5d279
* | Fix keymap build dependencies and variable name collisionsMichael Wright2013-09-033-21/+25
|/ | | | Change-Id: I06e67ddc97429ae9c3d04143934c3f8233fcd22f
* Remove incorrect keymappingMichael Wright2013-07-291-33/+0
| | | | | | | | | | | Turns out Snakebytes produce all 0s for their vendor / product IDs. This somehow got the vendor / product ID of an international apple keyboard, which will break them. Unfortunately, this also means we cannot map Snakebyte controllers at all. Relevant bug: https://code.google.com/p/android/issues/detail?id=58202 Change-Id: I59e134f8d1eb059fdf6823e65d6ce5387428029e
* Include key maps based on file nameMichael Wright2013-05-141-37/+3
| | | | | | | | Rather than keeping a curated list where it's easy to miss things, just pick up all of the possible key layouts, key character maps and input device configs in framework/base/data/keyboards based on filename. Change-Id: Iefa8eca491dcb6913e5b12bfda7096b6a5fedf18 (cherry picked from commit 9f5a6ee489f89c93491beef9bf64475fd2bfb0dd)
* Add DPad keys to PlaypadMichael Wright2013-04-261-0/+4
| | | | Change-Id: If274aa7e9d5e4988cf613ea9a16584c413ded8dd
* Fix keylayouts to use BACK instead of incorrect BUTTON_BACK.Michael Wright2013-04-2313-25/+41
| | | | | | | | Fix duplicate keys in a couple of the onza controllers. Also, add them to the Makefile so they actually get included in the build. Bug: 8292749 Change-Id: I8246155f84d0c3c75b21e37fb579227fda76e197
* Standardize gamepad layouts on existing controllersMichael Wright2013-04-1718-7/+543
| | | | | Bug: 8292749 Change-Id: I24bae8c9229125fcdd583d74b29f4334ddff782e
* Fix default behavior for gamepad buttonsMichael Wright2013-02-122-8/+8
| | | | | Bug: 8183679 Change-Id: Iaac33979828f18b1b8b6b111cd07b029384519ec
* Add initial plumbing for brightness keysMichael Wright2013-02-012-4/+7
| | | | Change-Id: I595e8a25e6c245e4b22f06df9a8acdbb75e4b041
* Add support for switching between multiple keyboard layouts.Jeff Brown2012-05-202-0/+2
| | | | | | | | Also show a notification when an external keyboard is connected and does not have a keyboard layout selected yet. Bug: 6405203 Change-Id: Id0ac6d83b3b381f8a236b2244a04c9acb203db3c
* Map KEY_SELECT to DPAD_CENTER.Jeff Brown2012-04-251-1/+1
| | | | Change-Id: If387be6b233db2222347e39e9edb3ad886e936a3
* Improve handling of certain keyboard layout properties.Jeff Brown2012-04-182-230/+217
| | | | | | | | | | | | | | | Automatically choose a default value for the 'number' property based on the characters that the key can generate. Don't generate any character when ctrl, alt or meta is pressed unless the behavior exactly matches the modifier keys that are pressed. Simplified the basic keyboard layouts taking into account the new features. Bug: 6110399 Change-Id: Ibc0f0b50c2dcf3f962a33ac77c24d2993b77637d
* Add Japanese specific key codes.Yang Chuang2012-04-021-8/+8
| | | | | | | | | These keys are specific to Japanese hardware keyboard which can be used by input method. Patch ported from AOSP, with the addition of EISU and KANA mappings. Change-Id: I647473cdd257458e3b9d134b0fc623eae946c3e0
* Fix application launch shortcuts.Jeff Brown2011-11-291-4/+5
| | | | | | | | | | | | | | | | | Improved quick launch bookmarks to support category-based shortcuts instead of hardcoding package and class names for all apps. Added a set of Intent categories for typical applications on the platform. Added support for some of the HID application launch usages to reduce reliance on quick launch for special purpose keys. Some keyboard vendors have hardcoded launch keys that synthesize "Search + X" type key combos. The goal is to encourage them to stop doing this by implementing more of HID. Bug: 5674723 Change-Id: I79f1147c65a208efc3f67228c9f0fa5cd050c593
* Remove non-module names from PRODUCT_PACKAGESYing Wang2011-10-101-3/+0
| | | | | | | | Bug: 5430740 Those files are in PRODUCT_COPY_FILES but not modules that can be put in PRODUCT_PACKAGES. Change-Id: I9e2f60de7ac2e12e6880e1365a36615835ca747c
* Update keymaps.Jeff Brown2011-08-101-18/+4
| | | | | | | | | | | Bug: 5069142 Add some additional mappings for the POWER key to support more standard HID devices. Remove some non-standard mappings that don't make sense anymore. Change-Id: Ie95a72c60d4dc4bfb3c90f6f3b343365f8e76685