It also happened to me with my remote IR but I was able to manage Kodi with the remote IR CEC remote of the TV.
Setting up a remote IR is very easy, it is only necessary to follow the guide How to configure IR remote control using the ‘meson-ir’ method.