Race Sim Central
Rec.Autos.Simulators Archive

Joystick Axis mapping

4 posts by 3 people · 25 Jun 2001 19:00 UTC - 26 Jun 2001 14:23 UTC

Ken MacKay 25 Jun 2001 19:00 UTC#176965
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
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. "Ken MacKay" <[email hidden]> wrote in message news:[email hidden]...
Quoted text (33 lines)> 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 >
Ken, on www.stickworks.com, under files, you'll find a package called joyregs.zip which does do those things. Richard "Ken MacKay" <[email hidden]> wrote in message news:[email hidden]...
Quoted text (33 lines)> 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 >
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 Richard Bakker wrote:
Quoted text (42 lines)> Ken, > > on www.stickworks.com, under files, you'll find a package called joyregs.zip > which does do those things. > > Richard > > "Ken MacKay" <[email hidden]> wrote in message > news:[email hidden]... > > 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 > >

Sponsors

Affiliate Links

Sim Gaming Expo MOZA Racing Sim-Lab Fanatec TrakRacer Asetek Internet Privacy From NordVPN Dreamhost Capital One Credit Card Application Fanatical CDKeys Amazon Amazon UK Project Motor Racing iRacing Get your racing gloves, boots and more from Demon Tweeks. Enlist at Roberts Space Industries, developers of Star Citizen and Squadron 42


Back from the ashes since July, 2019. First created in 2001 with the merger of Legends Central (founded 1999) and simracing.dk.

A site by a sort of sim racer, for sim racers, about racing sims. News and information on both modern and historic sim racing software titles.

All products and licenses property of their respective owners.


Facebook Threads Bluesky Twitter Mastodon Instagram YouTube Tiktok Twitch Reddit Google News Apple News Subscribe via WordPress Flipboard eBay

Race Sim Central © 1999-2026 | Some links pay RSC a commission. Advertising does not equal endorsement.Cookie Policy