diff 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
line wrap: on
line diff
--- a/src/joystick/linux/SDL_sysjoystick_c.h	Wed Jul 02 08:24:35 2008 +0000
+++ b/src/joystick/linux/SDL_sysjoystick_c.h	Wed Jul 02 09:52:44 2008 +0000
@@ -28,6 +28,8 @@
 struct joystick_hwdata
 {
    int fd;
+   char *fname; /* Used in haptic subsystem */
+
    /* The current linux joystick driver maps hats to two axes */
    struct hwdata_hat
    {