I have a rpi2 with raspbian installed and a remote wireless keyboard with an attached mouse touchpad. The keyboard works normally on the OS (browser, terminal etc) but not in kodi. There I can use the mouse touchpad, the keyboard arrows and the enter button but when the virtual keyboard is displayed (on search, for example) it won't recognize letter keystrokes as such so I have to fall back and select letter by letter either with the mouse pointer or with the arrows.
Under System/Input Devices/Peripheral I can see CEC adapter but no keyboard. I updated kodi config to start with pi user and edited sudo nano /etc/udev/rules.d/10-permissions.rules as suggested in this thread.
System info: Raspbian 7, kernel 4.1.13-v7+ Kodi 14.2