shithub: duke3d

ref: 61afb65d1e3cf0733b9fc1e1d185c269cc07ebc9
dir: /Game/src/joystick.h/

View raw version
#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 */