There is very simple way for the most of Air mouse remote controls: https://github.com/sezanzeb/input-remapper.
Note that you have to run it with sudo in terminal. Then the GUI will load and you can save the Hotkeys and remapps.
Try it.
My remote G60s work very well with it. Kodi and the OK Button work too. My system is a Manjaro arch linux distro with Kernel 6.12.