[quote]i’ve been working on getting JInput to work on OS X for a playstation 2 controller using a usb adapter. this works perfectly on the pc, but I’ve been having a great deal more difficulty getting it working properly on the Mac.
The issue I face now… I can find the controller “PSX/USB” in the controller environment, but I cannot seem to detect any axes on this controller.
Anybody have any ideas as to why this might be? Anyone successfully implemented a PS2 controller on a Mac with JInput?
thanks
[/quote]
SOme controllers are composite cotrolelrs, their axes are actually on sub controllers.
To find out do a getControllers() omn the controller, it it does not return nul lthen it has sub scontrolelrs so repeat the process for each sub controller.
(Theoretically its can recurse indefinitely. In practice I have yet to find a controller that is more then one sub-controller deep, but you never know… )