Created attachment 434634 [details, diff] kodi-9999-joystick.patch A while ago upstream has dropped support for IUSE=joystick. Patch included.
This is fixed in master.
Fixed in commit: https://github.com/gentoo/gentoo/commit/0eddc97ea13728522af398ff0cdd903ea6e1034c