VOGONS


First post, by ReignerDeustcher

User metadata
Rank Member
Rank
Member

I can play fine almost all windows racing games with my xbox one serie s controller but this one have problems

the game detects the controller and i can map everything in the config but in the race the controller does nothing, not one button works

Reply 1 of 5, by wierd_w

User metadata
Rank Oldbie
Rank
Oldbie

Relevant.

https://github.com/CookiePLMonster/SilentPatchNFS90s

Possible community fix inside.

(NFS2SE) Fixed a bug preventing controller button mappings from working correctly with gamepads that report more than 15 buttons (such as the Xbox One controller).

...

(NFS Porsche) Fixed a startup crash due to DirectInput controller enumeration being broken under specific circumstances on Windows 10 and newer.

Reply 2 of 5, by myne

User metadata
Rank Oldbie
Rank
Oldbie

Tell me you only assigned 4bits to button codes without telling me you only assigned 4 bits.

I built:
Convert old ASUS ASC boardviews to KICAD PCB!
Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11+tcp+vbe_svga auto-install iso template
Script to backup Win9x\ME drivers from a working install
Re: The thing no one asked for: KICAD 440bx reference schematic

Reply 3 of 5, by wierd_w

User metadata
Rank Oldbie
Rank
Oldbie

Look, it was an OPTIMIZATION to save FOUR WHOLE BITS in that bit flag variable!!!

/s

Anyways, the community fix above takes the form of a dinput wrapper library, and is universal for all NFS games, and may or may not work for the OP.

I hope it does.

Reply 4 of 5, by myne

User metadata
Rank Oldbie
Rank
Oldbie

Tbf, nfsp was what? 25 years ago?

I built:
Convert old ASUS ASC boardviews to KICAD PCB!
Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11+tcp+vbe_svga auto-install iso template
Script to backup Win9x\ME drivers from a working install
Re: The thing no one asked for: KICAD 440bx reference schematic

Reply 5 of 5, by ReignerDeustcher

User metadata
Rank Member
Rank
Member
wierd_w wrote on 2024-10-11, 07:39:
Relevant. […]
Show full quote

Relevant.

https://github.com/CookiePLMonster/SilentPatchNFS90s

Possible community fix inside.

(NFS2SE) Fixed a bug preventing controller button mappings from working correctly with gamepads that report more than 15 buttons (such as the Xbox One controller).

...

(NFS Porsche) Fixed a startup crash due to DirectInput controller enumeration being broken under specific circumstances on Windows 10 and newer.

it worked! thanksss 😄