Saturn builds

This commit is contained in:
2026-06-21 10:00:30 -05:00
parent 0438011ca3
commit 7f8bcf07e8
82 changed files with 1153 additions and 629 deletions
+10 -11
View File
@@ -39,8 +39,8 @@ typedef struct {
#endif
#ifdef DUSK_INPUT_POINTER
float_t mouseX, mouseY;
float_t scrollX, scrollY;
int16_t mouseX, mouseY;
int16_t scrollX, scrollY;
#endif
} inputsdl2_t;
@@ -69,18 +69,17 @@ typedef inputsdl2_t inputplatform_t;
void inputUpdateSDL2(void);
/**
* Returns the deadzone for the given gamepad axis. Requires implementation by
* the host platform.
*
* Returns the deadzone for the given gamepad axis (0 to INT16_MAX).
*
* @param button The button to get the deadzone of.
* @return The deadzone for the given gamepad axis.
* @return The deadzone threshold (0 to INT16_MAX).
*/
float_t inputGetDeadzoneSDL2(const inputbutton_t button);
int16_t inputGetDeadzoneSDL2(const inputbutton_t button);
/**
* Returns the input value (between 0 and 1) of the given button.
*
* Returns the input value of the given button (0 to INT16_MAX).
*
* @param button The button to get the value of.
* @return The value of the button, between 0 and 1.
* @return The value of the button (0 to INT16_MAX).
*/
float_t inputButtonGetValueSDL2(const inputbutton_t button);
int16_t inputButtonGetValueSDL2(const inputbutton_t button);