aboutsummaryrefslogtreecommitdiff
path: root/src/control.h
blob: f4f02c71db383e46aa58b7e53b0bbfad8b7fe422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _CONTROL_H
#define _CONTROL_H

#define CTL_NONE    0
#define CTL_UP      1
#define CTL_DOWN    2
#define CTL_RIGHT   4
#define CTL_LEFT    16
#define CTL_FIRE1   32
#define CTL_FIRE2   64

void control_init();
uint8_t control_read();

#endif /* _CONTROL_H */