⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
EclaireXL
All Projects
EclaireXL
Overview
Activity
Issues
News
Documents
Wiki
Forums
Files
Repository
Download (311 Bytes)
Statistics
| Revision:
repo2
/
firmware
/
joystick.h
@ 461
View
History
Annotate
#ifndef JOYSTICK_H
#define JOYSTICK_H
struct
joystick_status
{
int
x_
;
int
y_
;
int
fire_
;
int
escape_
;
};
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
);
#endif
« Previous
1
…
17
18
19
20
21
…
35
Next »
(19-19/35)
Loading...