Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/joystick/darwin/SDL_sysjoystick_c.h Wed Oct 29 05:56:23 2008 +0000 +++ b/src/joystick/darwin/SDL_sysjoystick_c.h Sat Nov 08 07:34:21 2008 +0000 @@ -35,6 +35,7 @@ struct recElement { IOHIDElementCookie cookie; /* unique value which identifies element, will NOT change */ + long usagePage, usage; /* HID usage */ long min; /* reported min value possible */ long max; /* reported max value possible */ #if 0