racing_game/input.h

9 lines
252 B
C
Raw Permalink Normal View History

2019-05-25 14:24:49 +10:00
#include "gamepad.h"
void input_init();
void input_check(int *args);
bool gpad_button_pressed(GAMEPAD_BUTTON);
double gpad_trigger_length(GAMEPAD_TRIGGER);
double gpad_stick_length(GAMEPAD_STICK);
void gpad_stick_value(GAMEPAD_STICK, float&, float&);