comparison src/joystick/darwin/SDL_sysjoystick_c.h @ 2637:2f826c229d77 gsoc2008_force_feedback

First draft of darwin haptic<->joystick stuff.
author Edgar Simo <bobbens@gmail.com>
date Sun, 10 Aug 2008 19:45:38 +0000
parents 9e7f58b1b255
children
comparison
equal deleted inserted replaced
2636:57ac1594164e 2637:2f826c229d77
58 }; 58 };
59 typedef struct recElement recElement; 59 typedef struct recElement recElement;
60 60
61 struct joystick_hwdata 61 struct joystick_hwdata
62 { 62 {
63 io_service_t ffservice; /* Interface for force feedback, 0 = no ff */
63 IOHIDDeviceInterface **interface; /* interface to device, NULL = no interface */ 64 IOHIDDeviceInterface **interface; /* interface to device, NULL = no interface */
64 65
65 char product[256]; /* name of product */ 66 char product[256]; /* name of product */
66 long usage; /* usage page from IOUSBHID Parser.h which defines general usage */ 67 long usage; /* usage page from IOUSBHID Parser.h which defines general usage */
67 long usagePage; /* usage within above page from IOUSBHID Parser.h which defines specific usage */ 68 long usagePage; /* usage within above page from IOUSBHID Parser.h which defines specific usage */