comparison src/joystick/darwin/SDL_sysjoystick_c.h @ 2776:caf3d5b2153f

Sort by HID usage, which makes more sense and is more cross-platform
author Sam Lantinga <slouken@libsdl.org>
date Sat, 08 Nov 2008 07:34:21 +0000
parents 0906692aa6a4
children 99210400e8b9
comparison
equal deleted inserted replaced
2775:6d7baec32718 2776:caf3d5b2153f
33 33
34 34
35 struct recElement 35 struct recElement
36 { 36 {
37 IOHIDElementCookie cookie; /* unique value which identifies element, will NOT change */ 37 IOHIDElementCookie cookie; /* unique value which identifies element, will NOT change */
38 long usagePage, usage; /* HID usage */
38 long min; /* reported min value possible */ 39 long min; /* reported min value possible */
39 long max; /* reported max value possible */ 40 long max; /* reported max value possible */
40 #if 0 41 #if 0
41 /* TODO: maybe should handle the following stuff somehow? */ 42 /* TODO: maybe should handle the following stuff somehow? */
42 43