Fixed wrong documentation in joystick implementation source.

This commit is contained in:
Philipp Wiesemann 2015-01-16 23:07:10 +01:00
parent 97ce204e2f
commit 29d25ec1b5
5 changed files with 5 additions and 12 deletions

View file

@ -97,16 +97,13 @@ int JoystickUpdate(void *data)
/* Function to scan the system for joysticks.
* This function should set SDL_numjoysticks to the number of available
* joysticks. Joystick 0 should be the system default joystick.
* Joystick 0 should be the system default joystick.
* It should return number of joysticks, or -1 on an unrecoverable fatal error.
*/
int SDL_SYS_JoystickInit(void)
{
int i;
/* SDL_numjoysticks = 1; */
/* Setup input */
sceCtrlSetSamplingCycle(0);
sceCtrlSetSamplingMode(PSP_CTRL_MODE_ANALOG);