how to use joysticks

Using applications, configuring, problems
Post Reply
Message
Author
blaarghalltheusernamesare
Posts: 91
Joined: Sun 14 Feb 2010, 18:00

how to use joysticks

#1 Post by blaarghalltheusernamesare »

how would i get puppy 4.2.1 to recognize a logitech wingman gamepad extreme(partnumber 863163-0000) with a usb adapter and a logitech rumblepad 2?

:) Thanks! :)
Last edited by blaarghalltheusernamesare on Mon 28 Feb 2011, 16:37, edited 2 times in total.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#2 Post by tempestuous »

EDIT: blaarghalltheusernamesare has a gamepad, not joystick. See my later post -
http://www.murga-linux.com/puppy/viewto ... 203#499203
Last edited by tempestuous on Sun 27 Feb 2011, 02:57, edited 1 time in total.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#3 Post by sc0ttman »

tempestuous wrote:Joystick support has been standard in Linux for many years now. Generally you just need to load 2 modules; usbhid and joydev. Thus -

Code: Select all

modprobe usbhid
modprobe joydev
Getting them calibrated and working with whatever applications you intend to use is a separate issue that you must investigate yourself. Google is your friend.
JSCalibrate:
http://murga-linux.com/puppy/viewtopic.php?p=489396
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

blaarghalltheusernamesare
Posts: 91
Joined: Sun 14 Feb 2010, 18:00

mouse keys in puppy

#4 Post by blaarghalltheusernamesare »

is there anything similiar to windows mouse keys in puppy linux? if so, how do i use them?
:) thanks! :)

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

Re: mouse keys in puppy

#5 Post by sc0ttman »

blaarghalltheusernamesare wrote:is there anything similiar to windows mouse keys in puppy linux? if so, how do i use them?
:) thanks! :)
What do you mean by "mouse keys"?
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

blaarghalltheusernamesare
Posts: 91
Joined: Sun 14 Feb 2010, 18:00

#6 Post by blaarghalltheusernamesare »

you're controlling the mouse with the number pad. press 6 and the mouse moves right, etc

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#7 Post by tempestuous »

blaarghalltheusernamesare,
Often the forum members here with good technical knowledge can only give you information in theory, since we don't have access to the hardware in question. So a bit of hands-on experimentation is necessary to sort out problems.
I suggest you just go ahead and install the calibration dotpet, then load the 2 modules I mentioned, and do some testing yourself.
Who knows, maybe the mouse keys will just work?

blaarghalltheusernamesare
Posts: 91
Joined: Sun 14 Feb 2010, 18:00

#8 Post by blaarghalltheusernamesare »

wait, i put this in the joystick thread? oops :oops:

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#9 Post by tempestuous »

Now that you have been more clear about the type of device in question, the information I provided earlier is slightly wrong; the 2 modules you should load are "usbhid" and "gameport". Thus -

Code: Select all

modprobe usbhid
modprobe gameport
Now what applications can be controlled with the gamepad? You may need to join in the discussions in the "Games" section of the forum -
http://www.murga-linux.com/puppy/index.php?f=38

Be aware that 3D graphics drivers need to be installed in order to play 3D games.

blaarghalltheusernamesare
Posts: 91
Joined: Sun 14 Feb 2010, 18:00

#10 Post by blaarghalltheusernamesare »

i said it had a USB adapter. it works fine.

P.S. is it possible to use the rumbler on the rumblepad?

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#11 Post by tempestuous »

blaarghalltheusernamesare wrote:it works fine.
It's unclear whether your success depends on loading the 2 modules I mentioned; "usbhid" and "gameport"
so I did some further digging in the kernel configuration.
It turns out that Puppy's kernel supports a range of USB Human Interface Devices, with no less than 27 separate drivers available for different brands of device, including the hid-logitech driver for the gamepad mentioned in this thread. Any of these devices should be automatically recognised at bootup (by its device ID) and the relevant driver should automatically load.
So I think if blaarghalltheusernamesare was to run the "lsmod" command, the "hid-logitech" module will almost certainly be listed. The "usbhid" module is also likely to have automatically loaded.

So what of "gameport" module? I don't know. Maybe this adds some functionality?
blaarghalltheusernamesare wrote:is it possible to use the rumbler on the rumblepad?
If the "force feedback" extra function is enabled in the kernel configuration, then yes ... but Puppy's kernel does not have this function enabled.
I might be able to compile an updated driver for this, but it will need to wait a few days.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#12 Post by tempestuous »

Well I don't have a Puppy 4.1.x development installation anymore, but for Puppy 5.1/5.2 I have just compiled the Logitech gamepad driver with "force feedback" function enabled, now available here -
http://www.murga-linux.com/puppy/viewto ... 184#500184

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#13 Post by tempestuous »

It turns out my Puppy 4.1 hard drive is OK, so the force feedback-enabled gamepad driver for Puppy 4.1/4.2 is now available here
http://www.murga-linux.com/puppy/viewto ... 494#500494

Post Reply