diff options
Diffstat (limited to 'data/keyboards')
-rw-r--r-- | data/keyboards/AVRCP.kl | 14 | ||||
-rw-r--r-- | data/keyboards/Generic.kcm | 4 | ||||
-rw-r--r-- | data/keyboards/Generic.kl | 14 | ||||
-rw-r--r-- | data/keyboards/Vendor_0a5c_Product_8502.kl | 42 | ||||
-rw-r--r-- | data/keyboards/Vendor_18d1_Product_2c40.kl | 2 | ||||
-rw-r--r-- | data/keyboards/Vendor_1949_Product_0401.kl | 27 | ||||
-rw-r--r-- | data/keyboards/qwerty.kl | 46 |
7 files changed, 109 insertions, 40 deletions
diff --git a/data/keyboards/AVRCP.kl b/data/keyboards/AVRCP.kl index 736b43c..ccd0209 100644 --- a/data/keyboards/AVRCP.kl +++ b/data/keyboards/AVRCP.kl @@ -14,10 +14,10 @@ # Key layout used for Bluetooth AVRCP support. -key 200 MEDIA_PLAY WAKE -key 201 MEDIA_PAUSE WAKE -key 166 MEDIA_STOP WAKE -key 163 MEDIA_NEXT WAKE -key 165 MEDIA_PREVIOUS WAKE -key 168 MEDIA_REWIND WAKE -key 208 MEDIA_FAST_FORWARD WAKE +key 200 MEDIA_PLAY +key 201 MEDIA_PAUSE +key 166 MEDIA_STOP +key 163 MEDIA_NEXT +key 165 MEDIA_PREVIOUS +key 168 MEDIA_REWIND +key 208 MEDIA_FAST_FORWARD diff --git a/data/keyboards/Generic.kcm b/data/keyboards/Generic.kcm index 01d22ee..1ef74ba 100644 --- a/data/keyboards/Generic.kcm +++ b/data/keyboards/Generic.kcm @@ -492,11 +492,11 @@ key BUTTON_C { } key BUTTON_X { - base: fallback DPAD_CENTER + base: fallback DEL } key BUTTON_Y { - base: fallback BACK + base: fallback SPACE } key BUTTON_Z { diff --git a/data/keyboards/Generic.kl b/data/keyboards/Generic.kl index 1275939..cfc1484 100644 --- a/data/keyboards/Generic.kl +++ b/data/keyboards/Generic.kl @@ -135,7 +135,7 @@ key 111 FORWARD_DEL key 113 VOLUME_MUTE key 114 VOLUME_DOWN key 115 VOLUME_UP -key 116 POWER WAKE +key 116 POWER key 117 NUMPAD_EQUALS # key 118 "KEY_KPPLUSMINUS" key 119 BREAK @@ -146,7 +146,7 @@ key 123 EISU key 124 YEN key 125 META_LEFT key 126 META_RIGHT -key 127 MENU WAKE_DROPPED +key 127 MENU key 128 MEDIA_STOP # key 129 "KEY_AGAIN" # key 130 "KEY_PROPS" @@ -158,11 +158,11 @@ key 128 MEDIA_STOP # key 136 "KEY_FIND" # key 137 "KEY_CUT" # key 138 "KEY_HELP" -key 139 MENU WAKE_DROPPED +key 139 MENU key 140 CALCULATOR # key 141 "KEY_SETUP" -key 142 SLEEP WAKE -key 143 WAKEUP WAKE +key 142 SLEEP +key 143 WAKEUP # key 144 "KEY_FILE" # key 145 "KEY_SENDFILE" # key 146 "KEY_DELETEFILE" @@ -171,13 +171,13 @@ key 143 WAKEUP WAKE # key 149 "KEY_PROG2" key 150 EXPLORER # key 151 "KEY_MSDOS" -key 152 POWER WAKE +key 152 POWER # key 153 "KEY_DIRECTION" # key 154 "KEY_CYCLEWINDOWS" key 155 ENVELOPE key 156 BOOKMARK # key 157 "KEY_COMPUTER" -key 158 BACK WAKE_DROPPED +key 158 BACK key 159 FORWARD key 160 MEDIA_CLOSE key 161 MEDIA_EJECT diff --git a/data/keyboards/Vendor_0a5c_Product_8502.kl b/data/keyboards/Vendor_0a5c_Product_8502.kl new file mode 100644 index 0000000..2f07328 --- /dev/null +++ b/data/keyboards/Vendor_0a5c_Product_8502.kl @@ -0,0 +1,42 @@ +# Copyright (C) 2013 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Rhodi + +key 304 BUTTON_A +key 305 BUTTON_B +key 307 BUTTON_X +key 308 BUTTON_Y +key 310 BUTTON_L1 +key 311 BUTTON_R1 +key 316 BUTTON_MODE +key 317 BUTTON_THUMBL +key 318 BUTTON_THUMBR + +key 158 BACK +key 172 HOME + +axis 0x00 X +axis 0x01 Y +axis 0x02 Z +axis 0x05 RZ +axis 0x09 RTRIGGER +axis 0x0a LTRIGGER +axis 0x10 HAT_X +axis 0x11 HAT_Y + +led 0x00 CONTROLLER_1 +led 0x01 CONTROLLER_2 +led 0x02 CONTROLLER_3 +led 0x03 CONTROLLER_4 diff --git a/data/keyboards/Vendor_18d1_Product_2c40.kl b/data/keyboards/Vendor_18d1_Product_2c40.kl index 903f13b..6efde4f 100644 --- a/data/keyboards/Vendor_18d1_Product_2c40.kl +++ b/data/keyboards/Vendor_18d1_Product_2c40.kl @@ -24,7 +24,7 @@ key 316 BUTTON_MODE key 317 BUTTON_THUMBL key 318 BUTTON_THUMBR -key 158 BACK WAKE_DROPPED +key 158 BACK key 172 HOME axis 0x00 X diff --git a/data/keyboards/Vendor_1949_Product_0401.kl b/data/keyboards/Vendor_1949_Product_0401.kl new file mode 100644 index 0000000..ab24bcd --- /dev/null +++ b/data/keyboards/Vendor_1949_Product_0401.kl @@ -0,0 +1,27 @@ +# Copyright (C) 2014 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Amazon Fire TV remote + +key 103 DPAD_UP +key 108 DPAD_DOWN +key 105 DPAD_LEFT +key 106 DPAD_RIGHT +key 96 DPAD_CENTER +key 158 BACK +key 172 HOME +key 168 MEDIA_REWIND +key 208 MEDIA_FAST_FORWARD +key 164 MEDIA_PLAY_PAUSE +key 217 ASSIST diff --git a/data/keyboards/qwerty.kl b/data/keyboards/qwerty.kl index f1caacd..58bf654 100644 --- a/data/keyboards/qwerty.kl +++ b/data/keyboards/qwerty.kl @@ -30,29 +30,29 @@ key 8 7 key 9 8 key 10 9 key 11 0 -key 158 BACK WAKE_DROPPED -key 230 SOFT_RIGHT WAKE -key 60 SOFT_RIGHT WAKE -key 107 ENDCALL WAKE_DROPPED -key 62 ENDCALL WAKE_DROPPED -key 229 MENU WAKE_DROPPED -key 139 MENU WAKE_DROPPED -key 59 MENU WAKE_DROPPED -key 127 SEARCH WAKE_DROPPED -key 217 SEARCH WAKE_DROPPED +key 158 BACK +key 230 SOFT_RIGHT +key 60 SOFT_LEFT +key 107 ENDCALL +key 62 ENDCALL +key 229 MENU +key 139 MENU +key 59 MENU +key 127 SEARCH +key 217 SEARCH key 228 POUND key 227 STAR -key 231 CALL WAKE_DROPPED -key 61 CALL WAKE_DROPPED -key 232 DPAD_CENTER WAKE_DROPPED -key 108 DPAD_DOWN WAKE_DROPPED -key 103 DPAD_UP WAKE_DROPPED -key 102 HOME WAKE -key 105 DPAD_LEFT WAKE_DROPPED -key 106 DPAD_RIGHT WAKE_DROPPED -key 115 VOLUME_UP WAKE -key 114 VOLUME_DOWN WAKE -key 116 POWER WAKE +key 231 CALL +key 61 CALL +key 232 DPAD_CENTER +key 108 DPAD_DOWN +key 103 DPAD_UP +key 102 HOME +key 105 DPAD_LEFT +key 106 DPAD_RIGHT +key 115 VOLUME_UP +key 114 VOLUME_DOWN +key 116 POWER key 212 CAMERA key 16 Q @@ -108,5 +108,5 @@ key 13 EQUALS key 215 AT # On an AT keyboard: ESC, F10 -key 1 BACK WAKE_DROPPED -key 68 MENU WAKE_DROPPED +key 1 BACK +key 68 MENU |