Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 12:20:24 +0100 (CET)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        myke@ees.com
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: joystick on als120
Message-ID:  <200010311120.e9VBKPl17463@Magelan.Leidinger.net>
In-Reply-To: <Pine.BSF.3.96.1001030130644.2893A-100000@sack.ees.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 Oct, Mike Holling wrote:

> programs to use the joystick device correctly is another matter.  Has
> anyone used the "Joystick" subsection for "XInput"?  The man pages say it
> should be supported but XFree complains that "Joystick" is not a valid
> subsection entry.

You need
 Load "xf86Jstk.so"
in the Module section together with e.g.
---snip---
    SubSection "Joystick"
        Port "/dev/joy0"
        DeviceName "Joystick"
        TimeOut 10
        MinimumXPosition 100
        MaximumXPosition 1300
        MinimumYPosition 100
        MaximumYPosition 1100
        # CenterX 700
        # CenterY 600
#        AlwaysCore   # uncomment to react without using xsetpointer(1)
        Delta 20
    EndSubSection
---snip---
in the Xinput section. At least it worked at the time I tried it (don't
know when, perhaps with 3-CURRENT).

Bye,
Alexander.

-- 
                      Loose bits sink chips.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = 7423 F3E6 3A7E B334 A9CC  B10A 1F5F 130A A638 6E7E



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010311120.e9VBKPl17463>