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

#include <3ds.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;
Button btnDecline;

int axisX, axisY;

void PHL_ScanInput();

#endif