aboutsummaryrefslogtreecommitdiff
path: root/src/psp/input.h
blob: 99adb9d46e4719dd30b820f81bf57205ff09cb3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef INPUT_H
#define INPUT_H

#include <oslib/oslib.h>

typedef struct {
	int pressed,
		held,
		released;
} Button;

Button btnUp, btnDown, btnLeft, btnRight;
Button btnFaceUp, btnFaceDown, btnFaceLeft, btnFaceRight;
Button btnL, btnR;
Button btnStart, btnSelect;
Button btnAccept, btnDecline;
int axisX, axisY;

void PHL_ScanInput();

#endif