Maybe you did not install the USB HID quirks for Raspbian? It is a known issue with the older Linux kernels and is described here in the section "Installing USB HID Quirks for the GamepadBlock" at https://blog.petrockblock.com/2017/10/10/tutorial-gamepadblock-raspbian/.