IR Remote Mapping Help

Search This thread

faddys123

Senior Member
May 8, 2010
2,627
96
Hi All,

So basically I flashed another firmware on my box and it works except the remote.

The buttons on the remote are messed up but work but some buttons aren't recognised.

However, i found the file that is responsible for the mapping of the buttons.

The file is located in /system/usr/keylayout/sun7i-ir.kl

So opening the file sun7i-ir.kl reveals this:

key 0x57 POWER WAKE
key 0x52 MEDIA_PLAY_PAUSE
#key 43 MEDIA_STOP
#key 60 MEDIA_PREVIOUS
#key 79 MEDIA_NEXT
key 0x1d 0
key 0x10 1
key 0x11 2
key 0x12 3
key 0x13 4
key 0x14 5
key 0x15 6
key 0x17 7
key 0x18 8
key 0x19 9
key 0x1c BROWSER
key 0x1e DEL
key 0x4d BACK
key 0x4e HOME
key 0x1a MENU
key 0x50 MOUSE
key 0x43 DPAD_UP
key 0x0a DPAD_DOWN
key 0x06 DPAD_LEFT
key 0x0e DPAD_RIGHT
key 0x02 DPAD_CENTER
key 0x1b VOLUME_UP
key 0x58 VOLUME_DOWN
key 0x5b MUTE
#key 0x0f PROG_RED
#key 0x4c PROG_GREEN
#key 31 PROG_YELLOW
key 0x4f SETTINGS


I found other configurations but none follows the same as my remote.

So I have attached an image of my remote so if anyone has the same remote or a similar one with the same buttons please extract your sun7i-ir.kl and send it to me.

Many thanks
 

Attachments

  • IMG_20150328_112416.jpg
    IMG_20150328_112416.jpg
    244.6 KB · Views: 329
Dec 12, 2015
12
0
Hi All,

So basically I flashed another firmware on my box and it works except the remote.

The buttons on the remote are messed up but work but some buttons aren't recognised.

However, i found the file that is responsible for the mapping of the buttons.

The file is located in /system/usr/keylayout/sun7i-ir.kl

So opening the file sun7i-ir.kl reveals this:

key 0x57 POWER WAKE
key 0x52 MEDIA_PLAY_PAUSE
#key 43 MEDIA_STOP
#key 60 MEDIA_PREVIOUS
#key 79 MEDIA_NEXT
key 0x1d 0
key 0x10 1
key 0x11 2
key 0x12 3
key 0x13 4
key 0x14 5
key 0x15 6
key 0x17 7
key 0x18 8
key 0x19 9
key 0x1c BROWSER
key 0x1e DEL
key 0x4d BACK
key 0x4e HOME
key 0x1a MENU
key 0x50 MOUSE
key 0x43 DPAD_UP
key 0x0a DPAD_DOWN
key 0x06 DPAD_LEFT
key 0x0e DPAD_RIGHT
key 0x02 DPAD_CENTER
key 0x1b VOLUME_UP
key 0x58 VOLUME_DOWN
key 0x5b MUTE
#key 0x0f PROG_RED
#key 0x4c PROG_GREEN
#key 31 PROG_YELLOW
key 0x4f SETTINGS


I found other configurations but none follows the same as my remote.

So I have attached an image of my remote so if anyone has the same remote or a similar one with the same buttons please extract your sun7i-ir.kl and send it to me.

Many thanks
Did you find anything useful?

I want to know what Prog_green and etc is?