⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
EclaireXL
All Projects
EclaireXL
Overview
Activity
Issues
News
Documents
Wiki
Forums
Files
Repository
Download (265 Bytes)
Statistics
| Revision:
repo2
/
firmware
/
joystick.h
@ 57
View
History
Annotate
46
markw
#pragma once
struct
joystick_status
{
49
markw
int
x_
;
int
y_
;
int
fire_
;
46
markw
};
enum
JoyWait
{
WAIT_QUIET
,
WAIT_FIRE
,
WAIT_MOVE
,
WAIT_EITHER
};
void
joystick_poll
(
struct
joystick_status
*
status
);
void
joystick_wait
(
struct
joystick_status
*
status
,
enum
JoyWait
waitFor
);
Loading...