Mercurial > sdl-ios-xcode
comparison src/joystick/dummy/SDL_sysjoystick.c @ 1152:51a8702d8ecd
Updates to PocketPC (WinCE) support, thanks to Dmitry Yakimov at
activekitten.com.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 29 Sep 2005 09:43:00 +0000 |
parents | b8d311d90021 |
children | 435c2e481299 |
comparison
equal
deleted
inserted
replaced
1151:be9c9c8f6d53 | 1152:51a8702d8ecd |
---|---|
31 | 31 |
32 #include "SDL_error.h" | 32 #include "SDL_error.h" |
33 #include "SDL_joystick.h" | 33 #include "SDL_joystick.h" |
34 #include "SDL_sysjoystick.h" | 34 #include "SDL_sysjoystick.h" |
35 #include "SDL_joystick_c.h" | 35 #include "SDL_joystick_c.h" |
36 | |
37 Uint8 SDL_numjoysticks = 0; | |
36 | 38 |
37 /* Function to scan the system for joysticks. | 39 /* Function to scan the system for joysticks. |
38 * This function should set SDL_numjoysticks to the number of available | 40 * This function should set SDL_numjoysticks to the number of available |
39 * joysticks. Joystick 0 should be the system default joystick. | 41 * joysticks. Joystick 0 should be the system default joystick. |
40 * It should return 0, or -1 on an unrecoverable fatal error. | 42 * It should return 0, or -1 on an unrecoverable fatal error. |