I have a RedGear Zonik Gamepad(Wired), an XBox type controller. When I plug it into my laptop, it is detected but when I press buttons there is no response.
jstests-gtk AUR repo to test the controller.
I tried to install
xpad-dkms-git driver from AUR to try to get it to work, but there seems to be some error here.
Error! echo Your kernel headers for kernel 5.10.53-1-MANJARO cannot be found at /usr/lib/modules/5.10.53-1-MANJARO/build or /usr/lib/modules/5.10.53-1-MANJARO/source. You can use the --kernelsourcedir option to tell DKMS where it's located. error: command failed to execute correctly :: Running post-transaction hooks...
Please help me to solve this issue.