Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: gamepad is attached... and what?
Date: Tue, 17 Mar 2009 19:02:33
Message-Id: 58965d8a0903171202h187dbb9dn210bb9545cf93b4d@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: gamepad is attached... and what? by Sascha Hlusiak
1 On Tue, Mar 17, 2009 at 1:39 PM, Sascha Hlusiak <saschahlusiak@×××××.de> wrote:
2 > Am Dienstag 17 März 2009 15:51:15 schrieb Andrew Gaydenko:
3 >> On Tuesday 17 March 2009 17:37:40 Nikos Chantziaras wrote:
4 >> > Andrew Gaydenko wrote:
5 >> > > Hi!
6 >> > >
7 >> > > Have bought a gamepad for my son - he plays supertuxkart (USB, "Black
8 >> > > Warrior Patriot Vibration Gamepad"), attached, added
9 >> > >
10 >> > > Section "InputDevice"
11 >> > > Identifier "joy1"
12 >> > > Driver "joystick"
13 >> > > EndSection
14 >> > >
15 >> > > to xorg.conf, restarted X (Gnome), and ... what?
16 >> >
17 >> > I guess it depends on the version of X.Org. With 1.5.x, you don't need
18 >> > an xorg.conf entry. You just plug it in and it works. The kernel must
19 >> > of course have joystick support.
20 > Little clarification. The xf86-input-joystick module is to use the joystick as
21 > an X input device to control the mouse cursor. It is not needed to play games
22 > or to use it in programs that directly use the joystick, like mplayer.
23 >
24 > You can use xf86-input-joystick to control the cursor or to use a joystick in
25 > games that do NOT know how to handle joysticks themselves.
26 >
27 > Neither you need joystick in INPUT_DEVICES, nor you need an entry in xorg.conf
28 > nor have xorg-server compiled with hal to use a joystick in games the usual
29 > way. Appropriate kernel modules and udev will do.
30
31 Good information, thank you.