Linux Lite Forums
How to install joystick (for use with Processing) - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Games Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=19)
+--- Thread: How to install joystick (for use with Processing) (/showthread.php?tid=2462)



How to install joystick (for use with Processing) - harrzack - 12-04-2015

Greets to all!
I'm using some donated Lenovo IdeaCenter boxes for a project on the battleship New Jersey museum-ship. LL 2.6 seems to run just fine on these little boxes, even grabs my wireless network with no sweat!

A radar simulation is being written in Processing 3, and I need to have a joystick to move a cursor on the display.  This is now working on the Win7 development sys, using a SUPER library: Game Control Plus (http://lagers.org.uk/gamecontrol/index.html).

The library 'likes' the Logitech 3D Extreme Pro joystick which is what I'm using.

So - would like some info on how to install or activate the joystick drivers in LL.  Any links or refs to previous posts/sites would be greatly appreciated.


Re: How to install joystick (for use with Processing) - rokytnji - 12-04-2015

How about starting off by showing what chips are in that game controller.
Open a terminal and give members here a output of

Code:
dmesg | grep usb

Also. Lets see if a folder is made in /media when you plug that joystick in.

Code:
cd /media
then when in the /media folder prompt
Code:
ls

It probably did not make a folder but I am just satisfying my own personal curiosity in this thread to see if that step happens or or not.


Re: How to install joystick (for use with Processing) - harrzack - 12-04-2015

Thanks - after I made this post, I went in and found the Synaptic Package manager, searched for 'joystick' - found several entries.  When I installed them, and rebooted, the joystick utilities recognized the Logitech 3D!  Amazingly easy - a lucky guess!


(12-04-2015, 01:12 PM)rokytnji link Wrote: How about starting off by showing what chips are in that game controller.
Open a terminal and give members here a output of

Code:
dmesg | grep usb

Also. Lets see if a folder is made in /media when you plug that joystick in.

Code:
cd /media
then when in the /media folder prompt
Code:
ls

It probably did not make a folder but I am just satisfying my own personal curiosity in this thread to see if that step happens or or not.



Re: How to install joystick (for use with Processing) - Valtam - 12-04-2015

Could you please list the packages you installed so as to help others in the future. Thank you.

Sent from my Nexus 6 using Tapatalk




Re: How to install joystick (for use with Processing) - harrzack - 12-04-2015

The machine is down now - and I'm not sure how to go back to see the actual names of what was installed. BUT - it was quite easy and almost intutive.
In the Synaptic Package manager, searched for 'joystick' - and there is a config utility, and a couple others that have 'js' in their name.  I installed those - rebooted and ran the js config utiilty and the Logitech (plugged into a USB port) was found and responded.  As soon as I get back to the machine I'll see if I can get the names of the actual files installed.

(12-04-2015, 03:14 PM)Jerry link Wrote: Could you please list the packages you installed so as to help others in the future. Thank you.

Sent from my Nexus 6 using Tapatalk