#ifndef GUARD_E847906A380863BFA9BE2CD8BC8943DA
#define GUARD_E847906A380863BFA9BE2CD8BC8943DA

#include "types.h"

struct gsa_input {
	struct {
		bool dpad_up, dpad_down, dpad_left, dpad_right, face_up, face_down,
		    face_left, face_right, l, r, start, select;
	} down, pressed;
	i32 x_dir;
	i32 y_dir;
};

extern struct gsa_input input;

/* todo: should be private? */
void gsa_input_tick();

#endif /* GUARD_E847906A380863BFA9BE2CD8BC8943DA */
