ControllerInterface: Make axis-to-button deadzone customizable

This commit is contained in:
Albert Liu
2020-06-22 19:30:19 -07:00
parent 6b7c068f83
commit 293c2f50cd
4 changed files with 22 additions and 4 deletions

View File

@ -46,6 +46,9 @@ public:
// Set scaling that will be applied on axis-to-axis mappings
virtual bool SetControllerAxisScale(int controller_index, float scale) = 0;
// Set deadzone that will be applied on axis-to-button mappings
virtual bool SetControllerDeadzone(int controller_index, float size) = 0;
// Input monitoring for external access.
struct Hook
{