GP2X How Does Sdl See The Extra Joysticks Attached To The Cradle ?


joyrider

Active Member
Joined
Mar 29, 2006
Messages
589
Age
43
Website
www.willemssoft.be
Hi, i'm using SDL 1.12.11 from the open2x libs svn and was wondering how extra joysticks attached to the cradle are seen.

Is it like this : Joystick(0) is the gp2x joystick and all other joysticks starts from number 1 , 2 , 3 , 4 etc depending on how many joysticks are hooked up to the cradle.

or is the joystick from the gp2x ignored when there are extra joysticks attached and is it like joystick(0) is the 1st joystick attached to the cradle and so on ?

with the numbers i mean what you pass to SDL_JoystickOpen to open the numberd joystick found in the system
 
joyrider said:
Is it like this : Joystick(0) is the gp2x joystick and all other joysticks starts from number 1 , 2 , 3 , 4 etc depending on how many joysticks are hooked up to the cradle.
Yes, should be.
 
Last edited by a moderator:
Gp2x gamepad is '0' and not ignored. I had tested it on cradle+3 gamepads.
 
Back
Top