JOY_TYPE_
Supported DOS joystick drivers.
Description
The DOS library supports the following type parameters for the
install_joystick() function:
-
JOY_TYPE_AUTODETECT
Attempts to autodetect your joystick hardware. It isn't possible to
reliably distinguish between all the possible input setups, so this
routine can only ever choose the standard joystick, Sidewider, GamePad
Pro, or GrIP drivers, but it will use information from the
configuration file if one is available (this can be created using the
setup utility or by calling the save_joystick_data() function), so you
can always use JOY_TYPE_AUTODETECT in your code and then select the
exact hardware type from the setup program.
-
JOY_TYPE_NONE
Dummy driver for machines without any joystick.
-
JOY_TYPE_STANDARD
A normal two button stick.
-
JOY_TYPE_2PADS
Dual joystick mode (two sticks, each with two buttons).
-
JOY_TYPE_4BUTTON
Enable the extra buttons on a 4-button joystick.
-
JOY_TYPE_6BUTTON
Enable the extra buttons on a 6-button joystick.
-
JOY_TYPE_8BUTTON
Enable the extra buttons on an 8-button joystick.
-
JOY_TYPE_FSPRO
CH Flightstick Pro or compatible stick, which provides four buttons,
an analogue throttle control, and a 4-direction coolie hat.
-
JOY_TYPE_WINGEX
A Logitech Wingman Extreme, which should also work with any
Thrustmaster Mk.I compatible joystick. It provides support for four
buttons and a coolie hat. This also works with the Wingman Warrior, if
you plug in the 15 pin plug (remember to unplug the 9-pin plug!) and
set the tiny switch in front to the "H" position (you will not be able
to use the throttle or the spinner though).
-
JOY_TYPE_SIDEWINDER
The Microsoft Sidewinder digital pad (supports up to four controllers,
each with ten buttons and a digital direction control).
-
JOY_TYPE_SIDEWINDER_AG
An alternative driver to JOY_TYPE_SIDEWINDER.
Try this if your Sidewinder isn't recognized with JOY_TYPE_SIDEWINDER.
-
JOY_TYPE_SIDEWINDER_PP
The Microsoft Sidewinder 3D/Precision/Force Feedback Pro joysticks.
-
JOY_TYPE_GAMEPAD_PRO
The Gravis GamePad Pro (supports up to two controllers, each with ten
buttons and a digital direction control).
-
JOY_TYPE_GRIP
Gravis GrIP driver, using the grip.gll driver file.
-
JOY_TYPE_GRIP4
Version of the Gravis GrIP driver that is constrained to only move
along the four main axes.
-
JOY_TYPE_SNESPAD_LPT1
JOY_TYPE_SNESPAD_LPT2
JOY_TYPE_SNESPAD_LPT3
SNES joypads connected to LPT1, LPT2, and LPT3 respectively.
-
JOY_TYPE_PSXPAD_LPT1
JOY_TYPE_PSXPAD_LPT2
JOY_TYPE_PSXPAD_LPT3
PSX joypads connected to LPT1, LPT2, and LPT3 respectively. See
http://www.ziplabel.com/dpadpro/index.html for information
about the parallel cable required. The driver automagically detects
which types of PSX pads are connected out of digital, analog (red or
green mode), NegCon, multi taps, Namco light guns, Jogcons (force
feedback steering wheel) and the mouse. If the controller isn't
recognised it is treated as an analog controller, meaning the driver
should work with just about anything. You can connect controllers in
any way you see fit, but only the first 8 will be used.
The Sony Dual Shock or Namco Jogcon will reset themselves (to digital
mode) after not being polled for 5 seconds. This is normal, the same
thing happens on a Playstation, it's designed to stop any vibration in
case the host machine crashes. Other mode switching controllers may
have similar quirks. However, if this happens to a Jogcon controller
the mode button is disabled. To reenable the mode button on the Jogcon
you need to hold down the Start and Select buttons at the same time.
The G-con45 needs to be connected to (and pointed at) a TV type monitor
connected to your computer. The composite video out on my video card
works fine for this (a Hercules Stingray 128/3D 8Mb). The TV video
modes in Mame should work too.
-
JOY_TYPE_N64PAD_LPT1
JOY_TYPE_N64PAD_LPT2
JOY_TYPE_N64PAD_LPT3
N64 joypads connected to LPT1, LPT2, and LPT3 respectively. See
http://www.st-hans.de/N64.htm for information about the
necessary hardware adaptor. It supports up to four controllers on a
single parallel port. There is no need to calibrate the analog stick,
as this is done by the controller itself when powered up. This means
that the stick has to be centred when the controller is initialised.
One possible issue people may have with this driver is that it is
physically impossible to move the analog stick fully diagonal, but I
can't see this causing any major problems. This is because of the
shape of the rim that the analog stick rests against. Like the Gravis
Game Pad Pro, this driver briefly needs to disable hardware interrupts
while polling. This causes a noticable performance hit on my machine
in both drivers, but there is no way around it. At a (very) rough
guess I'd say it slows down Mame 5% - 10%.
-
JOY_TYPE_DB9_LPT1
JOY_TYPE_DB9_LPT2
JOY_TYPE_DB9_LPT3
A pair of two-button joysticks connected to LPT1, LPT2, and LPT3
respectively. Port 1 is compatible with Linux joy-db9 driver
(multisystem 2-button), and port 2 is compatible with Atari interface
for DirectPad Pro. See the source file (src/dos/multijoy.c) for pinout
information.
-
JOY_TYPE_TURBOGRAFIX_LPT1
JOY_TYPE_TURBOGRAFIX_LPT2
JOY_TYPE_TURBOGRAFIX_LPT3
These drivers support up to 7 joysticks, each one with up to 5
buttons, connected to LPT1, LPT2, and LPT3 respectively. They use the
TurboGraFX interface by Steffen Schwenke: see
http://www.burg-halle.de/~schwenke/parport.html for details
on how to build this.
-
JOY_TYPE_WINGWARRIOR
A Wingman Warrior joystick.
-
JOY_TYPE_IFSEGA_ISA
JOY_TYPE_IFSEGA_PCI
JOY_TYPE_IFSEGA_PCI_FAST
Drivers for the IF-SEGA joystick interface cards by the IO-DATA
company (these come in PCI, PCI2, and ISA variants).