Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AnalogController: Reset state on analog->digital switch
But only when the game does not support analog mode. Tomb Raider's game selector menu puts the controller into configuration mode, and we're supposed to respond with a 0x00 header byte if the user switches the pad to digital mode. Problem is, the game itself doesn't understand this mode switch nor configuration mode. So the status byte gets stuck at 0x00 if the user toggles analog mode, and the game thinks no pad is connected. Work around this by resetting the whole state if the game does not support analog mode.
- Loading branch information