jackun / USBqemu-wheel

PCSX2 usb plugin for wheels and increasingly more stuff
The Unlicense
118 stars 21 forks source link

DInput Filters no longer work #54

Closed tocaedit closed 3 years ago

tocaedit commented 3 years ago

Hey jackun, Racer_S here. Had a quick play around in DInput with the newest build today.

Noticed the steering/throttle/brake filters no longer save or work correctly in-game.

Also you can assign keyboard controls to Steering Axes, but they don't work in-game. The other mappings work fine with keyboard.

Great work man love seeing it being updated after all these years, just some minor issues have cropped up since my first implementation and I'm sure you will get around to fixing it up.

jackun commented 3 years ago

Well, that's what you get if you stretch refactoring over a year+ 🤦

Also, dunno if it was before like this or a new issue with float conversion but linear filter creates weird sudden jumps to left/right in the center 😕

E: seems it is GT4 itself with weird dead zone or something

Also you can assign keyboard controls to Steering Axes, but they don't work in-game.

Hmm, J/K worked for me.

Should be fixed in https://github.com/jackun/USBqemu-wheel/commit/0ec87bcba7cc0fb555c60e8fca89b86fe42034c5

jackun commented 3 years ago

Also PCSX2 team might want to know if you're OK with plugin getting added to core PCSX2?

tocaedit commented 3 years ago

Well, that's what you get if you stretch refactoring over a year+ 🤦

Understandable.

Also, dunno if it was before like this or a new issue with float conversion but linear filter creates weird sudden jumps to left/right in the center 😕

E: seems it is GT4 itself with weird dead zone or something

Could be an off-by-one case, it used to work ok, the deadzone may not be zero'd correctly. It should behave just like it does on the graphic chart.

The negative deadzone was important to have in some games like Initial D where there is an in-game deadzone you cant remove.

Also you can assign keyboard controls to Steering Axes, but they don't work in-game.

Hmm, J/K worked for me.

Should be fixed in 0ec87bc

Sounds good! And yeah I'm fine with them adding to PCSX2 Core.

EC Sim Hardware no longer exists and the code was all written by me so you could remove that from the title if you'd like.