mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-19 01:52:35 -05:00
This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL for Rockbox. Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9
19 lines
No EOL
382 B
C
19 lines
No EOL
382 B
C
#ifndef __joystick_h
|
|
#define __joystick_h
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void JOYSTICK_UpdateHats( void );
|
|
void _joystick_init(void);
|
|
void _joystick_deinit(void);
|
|
int _joystick_update(void);
|
|
int _joystick_axis(int axis);
|
|
int _joystick_hat(int hat);
|
|
int _joystick_button(int button);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
|
|
#endif
|
|
#endif /* __joystick_h */ |