Changes

322 bytes added ,  02:53, 21 August 2009
→‎SDL joystick mapping: - more notes on D-pad mapping
Line 65: Line 65:  
|}
 
|}
   −
(the D-pads on the wiimote and the classic controller is mapped as a joystick "hat")
+
The D-pads on the Wii Remote and the Classic Controller are mapped as a [http://www.libsdl.org/cgi/docwiki.cgi/SDL_JoystickGetHat joystick hat]. Only one hat is reported per joystick, so when Classic Controller is plugged in, the D-pad on the Wii Remote is ignored. As far as orientation, SDL_HAT_UP is the up button on the Wii Remote's D-pad when it's held in horizontal position (with D-pad to the left).
    
The wiimote buttons are mapped this way in SDL:
 
The wiimote buttons are mapped this way in SDL:
114

edits