dopinder: Import IR remote mapping and standardize
authorNolen Johnson <johnsonnolen@gmail.com>
Sat, 4 May 2024 05:38:52 +0000 (01:38 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Sat, 4 May 2024 05:45:00 +0000 (05:45 +0000)
* Drop other ones as they're now in device/lineage/atv.

Change-Id: I0ebe561536e4174fdd8becf8a6ded67f0291b2b5

device.mk
keylayout/Vendor_0001_Product_0001.kl [new file with mode: 0644]
proprietary-files.txt

index 00edf879823ffdfe1ffb3fb0dc9bc5b47c85854e..6235e1e4a503d9cee0dd598d3c0da20e7f7fcf31 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -25,6 +25,10 @@ PRODUCT_COPY_FILES += \
 PRODUCT_PACKAGES += \
     8822cs
 
+## Keylayout (IR)
+PRODUCT_COPY_FILES += \
+    $(LOCAL_PATH)/keylayout/Vendor_0001_Product_0001.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_0001_Product_0001.kl
+
 ## Inherit from the common tree product makefile
 $(call inherit-product, device/amlogic/g12-common/g12.mk)
 
diff --git a/keylayout/Vendor_0001_Product_0001.kl b/keylayout/Vendor_0001_Product_0001.kl
new file mode 100644 (file)
index 0000000..355f080
--- /dev/null
@@ -0,0 +1,134 @@
+key 399   GRAVE
+key 1     BACK
+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 15    BACK
+key 158   BACK
+key 58    SOFT_RIGHT
+key 107   ENDCALL
+key 62    GUIDE
+key 139    MENU
+key 125    MENU
+key 60    NOTIFICATION
+key 127   SEARCH
+key 217   SEARCH
+key 228   POUND
+key 227   STAR
+key 231   CALL
+key 61    CALL
+key 97    DPAD_CENTER WAKE
+key 232   DPAD_CENTER WAKE
+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 104   VOLUME_UP
+key 109   VOLUME_DOWN
+key 212   CAMERA
+
+#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 75         F3
+key 76         F4
+key 77         F5
+key 64         F6
+key 65         F7
+key 66         F8
+key 67         F9
+key 68         F10
+key 69         F11
+
+key 56    ALT_LEFT
+key 100   ALT_RIGHT
+key 42    SHIFT_LEFT
+key 54    SHIFT_RIGHT
+#key 15    TAB
+key 57    SPACE
+key 70    EXPLORER
+key 155   ENVELOPE
+
+key 12    MINUS
+key 13    EQUALS
+key 215   AT
+key 119   MEDIA_PLAY_PAUSE
+key 122   MEDIA_PREVIOUS
+key 123   MEDIA_NEXT
+key 120   MEDIA_FAST_FORWARD
+key 121   MEDIA_REWIND
+key 116   POWER
+#key 116   POWER       WAKE
+key 113   VOLUME_MUTE
+key 128   MEDIA_STOP
+key 130   MEDIA_NEXT
+key 131   MEDIA_PREVIOUS
+#STEM_1  map  INFO for netflix buttom
+#key 133   F2 WAKE
+key 133   STEM_1
+key 140   F10
+#key 132   TV_REPEAT
+#key 134   TV_SHORTCUTKEY_DISPAYMODE
+key 135   CAPTIONS
+key 136   MEDIA_AUDIO_TRACK
+#key 137   TV_SWITCH
+
+#added by askey for WH-5349 IR ->start
+key 582   ASSIST WAKE
+#ALLAPPS
+key 253   ALL_APPS
+#YOUTUBE
+key 250   BUTTON_3 WAKE
+#NETFLIX
+key 251   BUTTON_4 WAKE
+#GOOGLEPLAY
+key 252   BUTTON_8 WAKE
+#BTPAIR
+key 249   PAIRING
+#added by askey for WH-5349 IR ->end 
index a9c1f1947b05eca197cb5fcd7830b64509eb09ab..0652c8abc9016769c19bb704fa6f89f5165102f7 100644 (file)
@@ -1,29 +1,6 @@
 ## All blobs from this list, unless pinned and noted as otherwise,
 ## are from sti6140d360-user 12 SC 20231117 release-keys.
 
-## Keylayout
-vendor/usr/idc/Vendor_0508_Product_0110.idc
-vendor/usr/idc/Vendor_0957_Product_0004.idc
-vendor/usr/idc/Vendor_1d5a_Product_c082.idc
-vendor/usr/idc/Vendor_248a_Product_8266.idc
-vendor/usr/idc/Vendor_7545_Product_0180.idc
-vendor/usr/keylayout/Vendor_0001_Product_0001.kl
-vendor/usr/keylayout/Vendor_000d_Product_3838.kl
-vendor/usr/keylayout/Vendor_000d_Product_3839.kl
-vendor/usr/keylayout/Vendor_005d_Product_0001.kl
-vendor/usr/keylayout/Vendor_005d_Product_0002.kl
-vendor/usr/keylayout/Vendor_0484_Product_5738.kl
-vendor/usr/keylayout/Vendor_0508_Product_0110.kl
-vendor/usr/keylayout/Vendor_0957_Product_0004.kl
-vendor/usr/keylayout/Vendor_0c45_Product_1109.kl
-vendor/usr/keylayout/Vendor_1915_Product_0001.kl
-vendor/usr/keylayout/Vendor_1d5a_Product_c081.kl
-vendor/usr/keylayout/Vendor_1d5a_Product_c082.kl
-vendor/usr/keylayout/Vendor_248a_Product_8266.kl
-vendor/usr/keylayout/Vendor_7045_Product_1820.kl
-vendor/usr/keylayout/Vendor_7545_Product_0021.kl
-vendor/usr/keylayout/Vendor_7545_Product_0180.kl
-
 ## DRM
 vendor/lib/liboemcrypto.so