rockbox/apps/plugins/sdl/progs/duke3d/Game/src/joystick.h
Franklin Wei a855d62025 Port of Duke Nukem 3D
This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL
for Rockbox.

Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9
2017-12-23 21:01:26 -05:00

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 */