public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Dosemu and Joysticks
@ 2008-04-29  6:25 JD Fenech
  2008-04-29  7:06 ` Mike McCarty
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: JD Fenech @ 2008-04-29  6:25 UTC (permalink / raw)
  To: linux-msdos

Background:
I have a PS1 controller connected to my PC via USB. I know it works, 
because I'm able to read data from /dev/input/js0 and actually use this 
in several native linux games.

Two questions:

1) In Dosemu, I have no clue what's wrong, but at least one of my DOS 
games can't figure out there's a joystick. I have this set in .dosemurc.
Relevant lines:
    $_joy_device = "/dev/input/js0" # 1st and 2nd joystick device
    $_joy_dos_min = (1)    # range for joystick axis readings, must be > 0
    $_joy_dos_max = (150)    # avoid setting this to > 250
    $_joy_granularity = (1) # the higher, the less sensitive - useful if 
you have a wobbly joystick
    $_  joy_latency = (1)    # delay between nonblocking linux joystick 
reads

2) Is there a recommended joystick tester for dos? I found "joytest.exe" 
somewhere a few weeks ago, but can't remember where. It seems to 
indicate I have correctly set up js0 on my box, and it's carrying over 
to DOS.

Thanks in advance,
JD

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-29  8:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-29  6:25 Dosemu and Joysticks JD Fenech
2008-04-29  7:06 ` Mike McCarty
2008-04-29  7:20 ` Mike McCarty
2008-04-29  8:07 ` Mike McCarty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox