⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
EclaireXL
All Projects
EclaireXL
Overview
Activity
Issues
News
Documents
Wiki
Forums
Files
Repository
Download (329 Bytes)
Statistics
| Revision:
repo2
/
firmware_eclairexl
/
joystick.h
@ 968
View
History
Annotate
#ifndef JOYSTICK_H
#define JOYSTICK_H
struct
joystick_status
{
int
x_
;
int
y_
;
int
fire_
;
int
escape_
;
int
keyPressed_
;
};
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
…
21
22
23
24
25
…
46
Next »
(23-23/46)
Loading...