aboutsummaryrefslogtreecommitdiff
path: root/src/wii/input.h
blob: cf76e0ea25057fdfb2f0bbf1c031f8d1b6c15476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef INPUT_H
#define INPUT_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