ControllerInterface: Implement axis scaling for axis-to-axis mappings
This feature allows us to work around analog stick range issues at the intercardinal directions in certain titles (e.g. Rockman DASH 2) caused by modern controllers having a tighter logical range of reporting than PS1 analog controllers.
This commit is contained in:
@ -43,6 +43,9 @@ public:
|
||||
virtual u32 GetControllerRumbleMotorCount(int controller_index) = 0;
|
||||
virtual void SetControllerRumbleStrength(int controller_index, const float* strengths, u32 num_motors) = 0;
|
||||
|
||||
// Set scaling that will be applied on axis-to-axis mappings
|
||||
virtual bool SetControllerAxisScale(int controller_index, float scale) = 0;
|
||||
|
||||
// Input monitoring for external access.
|
||||
struct Hook
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user