comparison src/joystick/linux/SDL_sysjoystick_c.h @ 2490:be9b206d44af gsoc2008_force_feedback

Some more error checking. Implemented SDL_HapticOpenFromJoystick().
author Edgar Simo <bobbens@gmail.com>
date Wed, 02 Jul 2008 09:52:44 +0000
parents 96adc8025331
children
comparison
equal deleted inserted replaced
2489:96adc8025331 2490:be9b206d44af
26 26
27 /* The private structure used to keep track of a joystick */ 27 /* The private structure used to keep track of a joystick */
28 struct joystick_hwdata 28 struct joystick_hwdata
29 { 29 {
30 int fd; 30 int fd;
31 char *fname; /* Used in haptic subsystem */
32
31 /* The current linux joystick driver maps hats to two axes */ 33 /* The current linux joystick driver maps hats to two axes */
32 struct hwdata_hat 34 struct hwdata_hat
33 { 35 {
34 int axis[2]; 36 int axis[2];
35 } *hats; 37 } *hats;