Multi WiiMote support February 04, 2009 01:08PM | Registered: 16 years ago Posts: 26 |
Re: Multi WiiMote support February 04, 2009 03:33PM | Registered: 15 years ago Posts: 25 |
Re: Multi WiiMote support February 04, 2009 05:46PM | Admin Registered: 16 years ago Posts: 5,132 |
Re: Multi WiiMote support February 04, 2009 06:18PM | Registered: 16 years ago Posts: 441 |
Re: Multi WiiMote support February 04, 2009 10:10PM | Registered: 16 years ago Posts: 26 |
Re: Multi WiiMote support February 04, 2009 10:19PM | Admin Registered: 16 years ago Posts: 5,132 |
u32 wpaddown = WPAD_ButtonsDown(WPAD_CHAN_0); u32 wpadup = WPAD_ButtonsDown(WPAD_CHAN_0); u32 wpadheld = WPAD_ButtonsHeld(WPAD_CHAN_0); u32 wpaddown1 = WPAD_ButtonsDown(WPAD_CHAN_1); u32 wpadup1 = WPAD_ButtonsDown(WPAD_CHAN_1); u32 wpadheld1 = WPAD_ButtonsHeld(WPAD_CHAN_1); // Scan for button events if (wpadheld & BUTTON_A) buttonScroll(x1+40,y1+40); if (wpaddown & BUTTON_A) buttonA(x1+40,y1+40); if (wpadup & BUTTON_A) selectedA=false; if (wpaddown & BUTTON_HOME) buttonExit(0); if (wpaddown & BUTTON_1 ) button1x(); if (wpadup & BUTTON_1) selected1=false; if (wpaddown & BUTTON_2 ) button2y(); if (wpadup & BUTTON_2) selected2=false; if (wpadheld1 & BUTTON_A) buttonScroll(x1+40,y1+40); if (wpaddown1 & BUTTON_A) buttonA(x1+40,y1+40); if (wpadup1 & BUTTON_A) selectedA=false; if (wpaddown1 & BUTTON_HOME) buttonExit(0); if (wpaddown1 & BUTTON_1 ) button1x(); if (wpadup1 & BUTTON_1) selected1=false; if (wpaddown1 & BUTTON_2 ) button2y(); if (wpadup1 & BUTTON_2) selected2=false;
Re: Multi WiiMote support February 05, 2009 03:19PM | Registered: 16 years ago Posts: 26 |
Re: Multi WiiMote support February 05, 2009 05:35PM | Admin Registered: 16 years ago Posts: 5,132 |
Re: Multi WiiMote support February 05, 2009 08:54PM | Registered: 16 years ago Posts: 26 |
Re: Multi WiiMote support February 05, 2009 09:21PM | Admin Registered: 16 years ago Posts: 5,132 |