Talk:SDL Wii/tutorial: Difference between revisions
Jump to navigation
Jump to search
Link to SDL wiimote example |
Another question |
||
| Line 5: | Line 5: | ||
: If you want a joystick example, you can check the UAE Wii menu code [http://code.google.com/p/uae-wii/source/browse/trunk/src/gui-sdl/menu.c#676 here] (until line 718). The [[SDL]] page describes the button mappings. It only shows the DPAD and buttons, but the rest is available in the man-pages. --[[User:SimonKagstrom|SimonKagstrom]] 13:04, 27 May 2009 (UTC) | : If you want a joystick example, you can check the UAE Wii menu code [http://code.google.com/p/uae-wii/source/browse/trunk/src/gui-sdl/menu.c#676 here] (until line 718). The [[SDL]] page describes the button mappings. It only shows the DPAD and buttons, but the rest is available in the man-pages. --[[User:SimonKagstrom|SimonKagstrom]] 13:04, 27 May 2009 (UTC) | ||
:: Thanks, I'll check that later -[[User:Crayon|Crayon]] 17:46, 27 May 2009 (UTC) | |||
GabberNL, I tried to use WPAD_Buttons''Down'' in my SDL game but only WPAD_Buttons''Held'' seems to work (like in your tutorial). Do I need to do something special to make WPAD_Buttons''Down'' work? -[[User:Crayon|Crayon]] 17:46, 27 May 2009 (UTC) | |||
Revision as of 18:46, 27 May 2009
Wiimote buttons
What's the best way to use the Wiimote with WPAD_ScanPads or with Wiimote SDL joystick mapping? Because in your tutorial you are using WPAD's functions. Thanks, Crayon 16:21, 26 May 2009 (UTC)
- Well, I don't know. Never tried it with SDL joystick mapping and I dont know how I can use it. If somebody can explain how to use joystick mapping I may add it in my tutorials. GabberNL 18:09, 26 May 2009 (UTC)
- Thanks, it could be great to include it in your tutorials if you find out how to use SDL joystick mapping. -Crayon 19:15, 26 May 2009 (UTC)
- If you want a joystick example, you can check the UAE Wii menu code here (until line 718). The SDL page describes the button mappings. It only shows the DPAD and buttons, but the rest is available in the man-pages. --SimonKagstrom 13:04, 27 May 2009 (UTC)
- Thanks, I'll check that later -Crayon 17:46, 27 May 2009 (UTC)
GabberNL, I tried to use WPAD_ButtonsDown in my SDL game but only WPAD_ButtonsHeld seems to work (like in your tutorial). Do I need to do something special to make WPAD_ButtonsDown work? -Crayon 17:46, 27 May 2009 (UTC)