Adjust how deadzones work
This commit is contained in:
@@ -49,6 +49,15 @@ typedef struct {
|
||||
*/
|
||||
void inputUpdateSDL2(void);
|
||||
|
||||
/**
|
||||
* Returns the deadzone for the given gamepad axis. Requires implementation by
|
||||
* the host platform.
|
||||
*
|
||||
* @param button The button to get the deadzone of.
|
||||
* @return The deadzone for the given gamepad axis.
|
||||
*/
|
||||
float_t inputGetDeadzoneSDL2(const inputbutton_t button);
|
||||
|
||||
/**
|
||||
* Returns the input value (between 0 and 1) of the given button.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user