RGBA textures

This commit is contained in:
2026-02-05 21:57:56 -06:00
parent dd697d5650
commit 1af5f238e4
18 changed files with 370 additions and 154 deletions

View File

@@ -10,6 +10,11 @@
#include "inputaction.h"
#include "event/event.h"
#if DOLPHIN
#define INPUT_PAD_COUNT PAD_CHANMAX
#define INPUT_AXIS_FLOAT(value) ((float_t)(value) / 128.0f)
#endif
#define INPUT_LISTENER_PRESSED_MAX 16
#define INPUT_LISTENER_RELEASED_MAX INPUT_LISTENER_PRESSED_MAX
@@ -39,7 +44,8 @@ typedef struct {
#endif
#elif DOLPHIN
PADStatus pads[4];
int padState[INPUT_PAD_COUNT];
float_t pads[INPUT_PAD_COUNT][INPUT_GAMEPAD_AXIS_COUNT];
#endif
} input_t;