src/joystick/darwin/SDL_sysjoystick_c.h
branchgsoc2008_force_feedback
changeset 2637 2f826c229d77
parent 2632 9e7f58b1b255
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 */