[Solution] How to use Gamepad/Joystick in PIXEL (lxde) instead of Mouse/Keyboard
-
Greetings...
In conclusion to a hard search to replace mouse and keyboard with my usb gamepad, [it would be really cool to full control Retropie and desktop with only joystick (^_^) ] Here is the solution that works in latest Retropie and Stretch distro.First, install the Joystick input driver package:
sudo apt-get install joystick
Next, install the Joystick Configuration package:
sudo apt-get install jstest-gtk
now runjstest-gtk
to test and calibrate your gamepad input
next you need to install QJoyPad
sudo apt-get install qjoypad
then run it by typingqjoypad
and start adding button mapping's simply by clicking "Quick Set" or please refer to documentation page for full understanding of all options/featuresnow we need to make it run automatically at every boot using many methods,One of them is:
1- Create a new file calledqpad.desktop
containing that code[Desktop Entry] Name=qpad Comment=Type any comment Icon=/icon/directory//here/itsname.png Exec=qjoypad Type=Application Encoding=UTF-8 Terminal=false Categories=None;
2- Save it and move that file to
/home/pi/.config/autostart
then restart.Enjoy :)
references:
http://airbornesurfer.com/2015/04/how-to-setup-a-generic-joystick-or-gamepad-in-ubuntu-linux/
https://www.howtoforge.com/tutorial/how-to-configure-your-gamepad-on-ubuntu/
............................................
@madmodder123 check this, hope it helped -
Thanks for this info, glad you brought this up, got it running thanks.
I can use my virtual keyboard to type on my desktop now :)
-
Thank you! Worked for me
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.