android: ir support
Signed-off-by: August <mingxin.android@gmail.com>
This commit is contained in:
parent
f951ac6b19
commit
2fdadc3e57
3 changed files with 19 additions and 1 deletions
14
android/device/softwinner/tulip-m64/configs/sunxi-ir.kl
Executable file
14
android/device/softwinner/tulip-m64/configs/sunxi-ir.kl
Executable file
|
@ -0,0 +1,14 @@
|
|||
# bpi ir keycode
|
||||
|
||||
# type 17c6
|
||||
|
||||
key 116 POWER
|
||||
key 28 DPAD_CENTER
|
||||
key 103 DPAD_UP
|
||||
key 105 DPAD_LEFT
|
||||
key 106 DPAD_RIGHT
|
||||
key 108 DPAD_DOWN
|
||||
key 102 HOME
|
||||
key 158 BACK
|
||||
key 119 APP_SWITCH
|
||||
key 139 MENU
|
|
@ -30,3 +30,6 @@ on property:sys.boot_completed=1
|
|||
#inmod tp module
|
||||
#insmod /vendor/modules/ft5x16_ts.ko
|
||||
insmod /vendor/modules/gt9xxnew_ts.ko
|
||||
|
||||
#insmod ir module
|
||||
insmod /vendor/modules/sunxi-ir-rx.ko
|
||||
|
|
|
@ -93,7 +93,8 @@ PRODUCT_COPY_FILES += \
|
|||
device/softwinner/tulip-m64/configs/camera.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/camera.cfg \
|
||||
device/softwinner/tulip-m64/configs/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
|
||||
device/softwinner/tulip-m64/configs/tp.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/ft5x_ts.idc \
|
||||
device/softwinner/tulip-m64/configs/axp803-powerkey.kl:$(TARGET_COPY_OUT_VENDOR)/usr/idc/axp803-powerkey.kl \
|
||||
device/softwinner/tulip-m64/configs/axp803-powerkey.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/axp803-powerkey.kl \
|
||||
device/softwinner/tulip-m64/configs/sunxi-ir.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/sunxi-ir.kl \
|
||||
device/softwinner/tulip-m64/configs/gsensor.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/gsensor.cfg \
|
||||
device/softwinner/common/config/awbms_config:$(TARGET_COPY_OUT_VENDOR)/etc/awbms_config \
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue