One more tidbit I figured I would share as this took some time to understand to get working.
If you want to also control LineageOS with the IR receiver included in the V3 case, do the following:
- Create a unix file (Not with windows line endings) called rc_keymap.txt with the following data:
# table argon, type: NEC
0x9c KEY_POWER
0xca KEY_UP
0xd2 KEY_DOWN
0x99 KEY_LEFT
0xc1 KEY_RIGHT
0x80 KEY_VOLUMEUP
0x81 KEY_VOLUMEDOWN
0xce KEY_KPENTER
0xcb KEY_HOME
0x9d KEY_MENU
0x90 KEY_BACK
- Boot into recovery mode
- Copy over the rc_keymap.txt file to /boot/rc_keymap.txt
- Reboot into normal mode
- Goto settings - system - developer options and enable adb
- Connect through adb with root access
- Edit the config.txt (nano /boot/config.txt) and change dtoverlay=gpio-ir,gpio_pin= from 18 to 23.
- Save and exit
- Run ‘ir-keytable -r /boot/rc_keymap.txt’ (If you get an error on formatting line one, it is likely not a unix file. If using Windows it can be created with notepad++ with line endings switched to unix)
- Reboot