summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/duke3d/Game/src/joystick.h
blob: ef5daed64bd11711031106491b1a5c620ca66069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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 */