Linux Lite Forums

Software - Support => Games Support => Topic started by: harrzack on December 04, 2015, 07:24:40 AM

Title: How to install joystick (for use with Processing)
Post by: harrzack on December 04, 2015, 07:24:40 AM
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 (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.
Title: Re: How to install joystick (for use with Processing)
Post by: rokytnji on December 04, 2015, 08:12:04 AM
How about starting off by showing what chips are in that game controller.
 Open a terminal and give members here a output of

Code: [Select]
dmesg | grep usb
Also. Lets see if a folder is made in /media when you plug that joystick in.

Code: [Select]
cd /mediathen when in the /media folder prompt
Code: [Select]
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.
Title: Re: How to install joystick (for use with Processing)
Post by: harrzack on December 04, 2015, 08:48:44 AM
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!


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

Code: [Select]
dmesg | grep usb
Also. Lets see if a folder is made in /media when you plug that joystick in.

Code: [Select]
cd /mediathen when in the /media folder prompt
Code: [Select]
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.
Title: Re: How to install joystick (for use with Processing)
Post by: Jerry on December 04, 2015, 10:14:58 AM
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

Title: Re: How to install joystick (for use with Processing)
Post by: harrzack on December 04, 2015, 10:46:36 AM
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.

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