Mercurial > sdl-ios-xcode
comparison src/joystick/darwin/SDL_sysjoystick.c @ 1496:405e20dc004c
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 11 Mar 2006 23:44:21 +0000 |
parents | dc6b59e925a2 |
children | f12379c41042 |
comparison
equal
deleted
inserted
replaced
1495:1dd8bf30a109 | 1496:405e20dc004c |
---|---|
576 recDevice *device, *lastDevice; | 576 recDevice *device, *lastDevice; |
577 io_object_t ioHIDDeviceObject = 0; | 577 io_object_t ioHIDDeviceObject = 0; |
578 | 578 |
579 SDL_numjoysticks = 0; | 579 SDL_numjoysticks = 0; |
580 | 580 |
581 if (!gpDeviceList) | 581 if (gpDeviceList) |
582 { | 582 { |
583 SDL_SetError("Joystick: Device list already inited."); | 583 SDL_SetError("Joystick: Device list already inited."); |
584 return -1; | 584 return -1; |
585 } | 585 } |
586 | 586 |