xan1242 / NFS-XtendedInput

NFS (Black Box, MW & newer) - XInput Plugin
MIT License
112 stars 7 forks source link

[Most Wanted] Toggle Icon Visibility feature bugs #33

Open HarGabt opened 2 years ago

HarGabt commented 2 years ago

When opening the map in free roam and toggling icon visibility with gamepad's FEng, Activate GPS element blinks for a couple of milliseconds. The bug doesn't occur after switching FEngs gamepad->keyboard/mouse->gamepad until the next time the map is opened.

https://user-images.githubusercontent.com/44652400/172693948-b717bd79-8109-4b40-9b62-40467ec5d787.mp4

xan1242 commented 2 years ago

That is caused by the dynamic switcher yeah. It's an unfortunate side effect and yet another case of needing to solve things on a case-by-case basis for this to work smoothly.

xan1242 commented 2 years ago

To fix this, we just need to find the code that handles that object in the console versions and re-implement it in the PC build.

It should be relatively straightforward.

That should be the basic process to finding it in a console version. PC implementation should be just a matter of calling FEngSetVisible and FEngSetInvisible at right times.