diff options
| author | c457 <android.c357@gmail.com> | 2017-02-03 20:09:49 -0600 |
|---|---|---|
| committer | c457 <android.c357@gmail.com> | 2017-02-04 11:23:43 -0600 |
| commit | 67f649d16eb8fc169db6fded0e20ff21a131e36a (patch) | |
| tree | fddd4f3d68f0b19893b6fac210271693555f0cc8 | |
| parent | aa11055cbf0b1e77e7637d14bbc734b79e09366f (diff) | |
axon7: Fix quering of the display
* This allows us to actually use synaptics keylayout
without depending on qwerty keylayout
| -rw-r--r-- | board/keylayout.mk | 2 | ||||
| -rw-r--r-- | idc/synaptics_dsx.idc | 11 | ||||
| -rwxr-xr-x | keylayout/qwerty.kl | 127 | ||||
| -rwxr-xr-x | keylayout/synaptics_dsx.kl | 4 | ||||
| -rw-r--r-- | product/keylayout.mk | 3 |
5 files changed, 5 insertions, 142 deletions
diff --git a/board/keylayout.mk b/board/keylayout.mk deleted file mode 100644 index 4c4af55..0000000 --- a/board/keylayout.mk +++ /dev/null @@ -1,2 +0,0 @@ -# Keylayout -PRODUCT_COPY_FILES := $(filter-out frameworks/base/data/keyboards/qwerty.kl:system/usr/keylayout/qwerty.kl, $(PRODUCT_COPY_FILES)) diff --git a/idc/synaptics_dsx.idc b/idc/synaptics_dsx.idc index 7ba11f9..8fbd166 100644 --- a/idc/synaptics_dsx.idc +++ b/idc/synaptics_dsx.idc @@ -1,4 +1,5 @@ # Copyright (C) 2010 The Android Open Source Project +# Copyright (C) 2017, The LineageOS Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,16 +14,8 @@ # limitations under the License. # -# Emulator keyboard configuration file #1. +# Input Device Calibration File for the Axon 7 touch screen. # touch.deviceType = touchScreen touch.orientationAware = 1 - -keyboard.layout = qwerty -keyboard.characterMap = qwerty -keyboard.orientationAware = 1 -keyboard.builtIn = 0 - -cursor.mode = navigation -cursor.orientationAware = 1 diff --git a/keylayout/qwerty.kl b/keylayout/qwerty.kl deleted file mode 100755 index 77c5f64..0000000 --- a/keylayout/qwerty.kl +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright (C) 2010 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. - -# -# Emulator keyboard layout #1. -# -# This file is no longer used as the platform's default keyboard layout. -# Refer to Generic.kl instead. -# - -key 399 GRAVE -key 2 1 -key 3 2 -key 4 3 -key 5 4 -key 6 5 -key 7 6 -key 8 7 -key 9 8 -key 10 9 -key 11 0 -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 -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 143 WAKEUP -key 212 CAMERA -key 187 APP_SWITCH - -key 16 Q -key 17 W -key 18 E -key 19 R -key 20 T -key 21 Y -key 22 U -key 23 I -key 24 O -key 25 P -key 26 LEFT_BRACKET -key 27 RIGHT_BRACKET -key 43 BACKSLASH - -key 30 A -key 31 S -key 32 D -key 33 F -key 34 G -key 35 H -key 36 J -key 37 K -key 38 L -key 39 SEMICOLON -key 40 APOSTROPHE -key 14 DEL - -key 44 Z -key 45 X -key 46 C -key 47 V -key 48 B -key 49 N -key 50 M -key 51 COMMA -key 52 PERIOD -key 53 SLASH -key 28 ENTER - -key 56 ALT_LEFT -key 100 ALT_RIGHT -key 42 SHIFT_LEFT -key 54 SHIFT_RIGHT -key 15 TAB -key 57 SPACE -key 150 EXPLORER -key 155 ENVELOPE - -key 12 MINUS -key 13 EQUALS -key 215 AT - -# On an AT keyboard: ESC, F10 -key 1 BACK -key 68 MENU - -# App switch = Overview key -key 580 APP_SWITCH - -# Media control keys -key 160 MEDIA_CLOSE -key 161 MEDIA_EJECT -key 163 MEDIA_NEXT -key 164 MEDIA_PLAY_PAUSE -key 165 MEDIA_PREVIOUS -key 166 MEDIA_STOP -key 167 MEDIA_RECORD -key 168 MEDIA_REWIND diff --git a/keylayout/synaptics_dsx.kl b/keylayout/synaptics_dsx.kl index dc476bf..debbfd2 100755 --- a/keylayout/synaptics_dsx.kl +++ b/keylayout/synaptics_dsx.kl @@ -26,6 +26,6 @@ # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. key 158 BACK -key 139 MENU key 102 HOME -key 217 SEARCH +key 187 APP_SWITCH +key 143 WAKEUP diff --git a/product/keylayout.mk b/product/keylayout.mk index a8fc23b..80e0be2 100644 --- a/product/keylayout.mk +++ b/product/keylayout.mk @@ -1,4 +1,3 @@ # Keylayout PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/keylayout/synaptics_dsx.kl:system/usr/keylayout/synaptics_dsx.kl \ - $(LOCAL_PATH)/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl + $(LOCAL_PATH)/keylayout/synaptics_dsx.kl:system/usr/keylayout/synaptics_dsx.kl |
