Wii IR/Cursor Display June 15, 2009 12:48AM | Registered: 15 years ago Posts: 2 |
WPAD_IR(WPAD_CHAN_0, &ir1); GRRLIB_DrawImg(ir1.sx, ir1.sy, pointer_png, 0, 1, 1, 0xFFFFFFFF);But this method doesn't seem very accurate, it gets stuck at the top and left sides of the screen n' such.
Re: Wii IR/Cursor Display June 15, 2009 01:04AM | Registered: 15 years ago Posts: 36 |
f32 irx; f32 iry;
GRRLIB_DrawImg(ir1.sx - irx, ir1.sy - iry, pointer_png, 0, 1, 1, 0xFFFFFFFF); if(wpaddown & WPAD_BUTTON_MINUS) { irx -=5; iry -=5; }
GRRLIB_DrawImg(ir1.x - irx, ir1.y - iry, pointer_png, 0, 1, 1, 0xFFFFFFFF);
Re: Wii IR/Cursor Display June 15, 2009 06:24PM | Registered: 15 years ago Posts: 36 |
Re: Wii IR/Cursor Display June 15, 2009 09:14PM | Registered: 16 years ago Posts: 15 |
Re: Wii IR/Cursor Display June 16, 2009 01:27AM | Registered: 15 years ago Posts: 157 |
Re: Wii IR/Cursor Display June 16, 2009 04:52AM | Registered: 15 years ago Posts: 15 |
Re: Wii IR/Cursor Display June 17, 2009 10:31PM | Registered: 15 years ago Posts: 2 |
Re: Wii IR/Cursor Display June 17, 2009 11:53PM | Registered: 16 years ago Posts: 265 |