Page 1 of 1

how to use joysticks

Posted: Thu 24 Feb 2011, 23:26
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! :)

Posted: Fri 25 Feb 2011, 12:29
by tempestuous
EDIT: blaarghalltheusernamesare has a gamepad, not joystick. See my later post -
http://www.murga-linux.com/puppy/viewto ... 203#499203

Posted: Fri 25 Feb 2011, 14:03
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

mouse keys in puppy

Posted: Fri 25 Feb 2011, 23:38
by blaarghalltheusernamesare
is there anything similiar to windows mouse keys in puppy linux? if so, how do i use them?
:) thanks! :)

Re: mouse keys in puppy

Posted: Fri 25 Feb 2011, 23:56
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"?

Posted: Sat 26 Feb 2011, 00:44
by blaarghalltheusernamesare
you're controlling the mouse with the number pad. press 6 and the mouse moves right, etc

Posted: Sat 26 Feb 2011, 04:21
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?

Posted: Sat 26 Feb 2011, 18:14
by blaarghalltheusernamesare
wait, i put this in the joystick thread? oops :oops:

Posted: Sun 27 Feb 2011, 02:56
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.

Posted: Mon 28 Feb 2011, 16:34
by blaarghalltheusernamesare
i said it had a USB adapter. it works fine.

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

Posted: Tue 01 Mar 2011, 08:13
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.

Posted: Wed 02 Mar 2011, 09:16
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

Posted: Thu 03 Mar 2011, 10:22
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