Super_Simple_Method_For_Controlling_With_A_USB_Joypad - rmu75/linuxcnc-wiki GitHub Wiki
Tutorial on installing a remote pendent on linuxCNC using [qjoypad]
Summary: qjoypad is a utility that takes joypad button and joystick movements and turns them into keyboard strokes. These keyboard commands can be used to control linuxCNC. This tutorial shows how to install and configure qjoypad for linuxCNC.
qjoystick can be installed either by building the source code, or by downloading a binary file. The binary can be downloaded [here] however qjoypad has several dependencies that must be installed as well, so adding a repository and using apt-get is recommended.
1.Install the repository GPG key:
wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
2.Add the following line to /etc/apt/sources.list by typing:
3.sudo gedit /etc/apt/sources.list
4.then add the following line to the file:
deb http://archive.getdeb.net/ubuntu/ lucid-getdeb games
5.save the file.
6.Update the package index:
sudo apt-get update
7.Install qjoypad deb package:
sudo apt-get install qjoypad joystick
The final command installs qjoystick and the joystick kernel module, a required dependency which does not get installed by default.
This video provides most of the information on configuring qjoypad provided below. [LinuxCNC with USB controller]
Now you have qjoypad installed, start it either by typing qjoypad or by running it from the applications menu. Now plug in your joypad. Right click on the joypad icon in the system tray, a menu will appear. From that menu click update joystick devices. NOTE: your computer might need to be restarted before this will work. Now left click on the system tray icon. It should open a window like this:
http://wiki.linuxcnc.org/uploads/QJoyPad_4.1.png
Click on the quick set button. The menus should guide you through configuration.
http://wiki.linuxcnc.org/uploads/Set_Joystick.png http://wiki.linuxcnc.org/uploads/Choose_a_key.png
When you are done save by clicking the update button and typing in a name.
http://wiki.linuxcnc.org/uploads/Name_new_layout.png
It is recommended that you go back and change the threshold values for the joysticks (axis) on the controller so they aren't as sensitive.
note that qjoypad will not use multiple key shortcuts (uppercase shortcuts included) to get around this a button must be set to SHIFT, another to CTL, ETC
This tutorial is in large part based off of this video which provides most of the information on configuring qjoypad. [LinuxCNC with USB controller]