rec.autos.simulators

Joystick Axis mapping

Ken MacKa

Joystick Axis mapping

by Ken MacKa » Wed, 27 Jun 2001 04:00:16

I'm trying to get windows98 to see a set of pedals that are connected to
the Joy2 X and Y axes.  I tried creating several different "custom"
controllers in control panel but they all seem to default to using the
Joy1 X and Y axes.  The hardware tests fine using joytest and Windows
will detect them on Joy2 using the standard 2axis-2button joystick
driver but that conflicts with my other controller that uses Joy1 axes
and the 4 buttons.  Some info at microsoft (see below) suggests it may
possible to remap the axes using DWORD JOY_HWS_* flags but I'm not sure
how to go about it (registry hack?):

Any hardware/registry gurus know how to get a windows 98 to see a custom
controller on the Joy2 axes with 0 buttons?

http://www.racesimcentral.net/

and copied from the win98 DDK digjijoy.inf

[DJ.AddReg]
; All defined joysticks are described in the registry under their own
sub key
; under HKLM\SYSTEM\CurrentControlSet\Control\MediaProperties\
; PrivateProperties\Joystick\OEM.  Devices which can be serviced by the
; standard gameport driver require only a string value for friendly
name,
; OEMName and the binary value OEMData, containing DWORD of flags,
followed
; by the number of buttons.  The DWORD of flags is made from a
combination
; of the JOY_HWS_* flags defined in the mmddk.h and dinput.h files.
;

Ken

Les Marto

Joystick Axis mapping

by Les Marto » Wed, 27 Jun 2001 21:45:45

Hi Ken,

Is the Steering Wheel and Pedals connected to a standard gameport ie. on
your sound card or game card. (ie. 15pin connector), or are they separate
devices, plugged into either a gameport and/or serial/USB connection? If you
could give a bit more info like the type of wheel & pedals I may be able to
guide you in the right direction.

Regards,
Les.


Richard Bakke

Joystick Axis mapping

by Richard Bakke » Wed, 27 Jun 2001 22:47:56

Ken,

on www.stickworks.com, under files, you'll find a package called joyregs.zip
which does do those things.

Richard


Ken MacKa

Joystick Axis mapping

by Ken MacKa » Wed, 27 Jun 2001 23:23:14

Thanks Richard. Haven't tried it yet but from the contents of the reg files it
should create the OEMName and OEMData registry entries for a Joy2 only
controller.

Ken


> Ken,

> on www.stickworks.com, under files, you'll find a package called joyregs.zip
> which does do those things.

> Richard



> > I'm trying to get windows98 to see a set of pedals that are connected to
> > the Joy2 X and Y axes.  I tried creating several different "custom"
> > controllers in control panel but they all seem to default to using the
> > Joy1 X and Y axes.  The hardware tests fine using joytest and Windows
> > will detect them on Joy2 using the standard 2axis-2button joystick
> > driver but that conflicts with my other controller that uses Joy1 axes
> > and the 4 buttons.  Some info at microsoft (see below) suggests it may
> > possible to remap the axes using DWORD JOY_HWS_* flags but I'm not sure
> > how to go about it (registry hack?):

> > Any hardware/registry gurus know how to get a windows 98 to see a custom
> > controller on the Joy2 axes with 0 buttons?

> > http://support.microsoft.com/support/kb/articles/Q163/3/53.asp

> > and copied from the win98 DDK digjijoy.inf

> > [DJ.AddReg]
> > ; All defined joysticks are described in the registry under their own
> > sub key
> > ; under HKLM\SYSTEM\CurrentControlSet\Control\MediaProperties\
> > ; PrivateProperties\Joystick\OEM.  Devices which can be serviced by the
> > ; standard gameport driver require only a string value for friendly
> > name,
> > ; OEMName and the binary value OEMData, containing DWORD of flags,
> > followed
> > ; by the number of buttons.  The DWORD of flags is made from a
> > combination
> > ; of the JOY_HWS_* flags defined in the mmddk.h and dinput.h files.
> > ;

> > Ken


rec.autos.simulators is a usenet newsgroup formed in December, 1993. As this group was always unmoderated there may be some spam or off topic articles included. Some links do point back to racesimcentral.net as we could not validate the original address. Please report any pages that you believe warrant deletion from this archive (include the link in your email). RaceSimCentral.net is in no way responsible and does not endorse any of the content herein.