aboutsummaryrefslogtreecommitdiff
path: root/include/ubox_control.h
blob: 0bfea5ffb02c90ccca73c01ed0ed33d678d382a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#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();