I've found information on how to use your own IR remote controller from this site: https://forum.odroid.com/viewtopic.php?f=215&t=44671
In short:
1. Enable logging from the IR kernel module, enter in a terminal:
sudo -i
echo 1 > /sys/module/rockchip_pwm_remotectl/parameters/code_print
dmesg -w
2. Check if your remote is supported by pressing the keys on your remote. It should give you info like:
[ 3485.342354] USERCODE=0xfb04
[ 3485.369309] RMC_GETDATA=fd
3. Download the overlay file below and edit the usercode and the code for each key. So for like with the key above it'll be 0xfd
4. Place the header file "rk-input.h" in the same directory as the overlay file. In my case the location is "/usr/src/linux-headers-6.1.43-vendor-rk35xx/include/dt-bindings/input/rk-input.h"