aboutsummaryrefslogtreecommitdiff
path: root/include/ubox_control.h
blob: 47fff33c7b941683be1c228f276c400a12841b17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _UBOX_CONTROL_H
#define _UBOX_CONTROL_H

#define UBOX_CTL_NONE    0
#define UBOX_CTL_UP      1
#define UBOX_CTL_DOWN    2
#define UBOX_CTL_RIGHT   4
#define UBOX_CTL_LEFT    8
#define UBOX_CTL_FIRE1   16
#define UBOX_CTL_FIRE2   32

void ubox_control_init();
uint8_t ubox_control_read();

#endif /* _UBOX_CONTROL_H */