1 #ifndef HRK_JOYSTICK_STATE_H
2 #define HRK_JOYSTICK_STATE_H
24 int axis_count()
const;
25 int buttons_count()
const;
27 short axis_value(
int index)
const;
28 bool is_button_pressed(
int index)
const;
31 void set_axis_value(
int index,
short value);
32 void set_is_button_pressed(
int index,
bool is_pressed);
39 std::auto_ptr<pImpl> pimpl;
Definition: Joystick_state.h:15