WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

windows: wiimote-gui (in C)
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck
View previous topic :: View next topic  
Author Message
CarlKenner
Site Admin


Joined: 29 Nov 2006
Posts: 614

Digg It
PostPosted: Sun Jan 07, 2007 3:48 am    Post subject:

mikey wrote:

if IR is enabled on both, both wiimotes control the mouse and in essence there are two mouse pointers (try it!).


I can't try it, I don't have two Wiimotes.
So can you tell us how you can have two mouse pointers?
Back to top
View user's profile Send private message Send e-mail
togikun



Joined: 03 Jan 2007
Posts: 63

Digg It
PostPosted: Sun Jan 07, 2007 10:41 am    Post subject:

Spontaneous guess - one of the pointers are a dummy and sends mouseclicks when a button is pressed. I don't think it's possible to send mouse-position events without messing with the real cursor, so this "dummy" would only be able to send mouseclicks.
Back to top
View user's profile Send private message
Thutmosis



Joined: 04 Jan 2007
Posts: 4

Digg It
PostPosted: Sun Jan 07, 2007 4:26 pm    Post subject:

@Mikey: I solved these Wiimote features yet:
- all Wiimote Buttons except Power
- Wiimote Motion Acceleration
- Expansion (Nunchuk) Acceleration (need to be calibrated)
- Expansion Buttons
- Expansion Analog Joystick Pos
- Set/Get LED status
- Get battery status

I am currently trying to read the calibration data from the memory but I the returned data doesnt seem to be correct (only 3 bytes set, rest is zero)

BTW: i dont use any library but the HID.lib from windows driver kit (DDK)
Back to top
View user's profile Send private message
mikey



Joined: 25 Dec 2006
Posts: 56

Digg It
PostPosted: Tue Jan 09, 2007 12:05 am    Post subject:

CarlKenner wrote:
mikey wrote:

if IR is enabled on both, both wiimotes control the mouse and in essence there are two mouse pointers (try it!).


I can't try it, I don't have two Wiimotes.
So can you tell us how you can have two mouse pointers?


all it is doing is having both wiimotes send mouse events (absolute mouse events). since windows interprets all the mouse events the pointer keeps being in both places in once. button presses are sent with their pointer position, so each wiimote presses their button in the place they are actually pointing.
Back to top
View user's profile Send private message Visit poster's website
mikey



Joined: 25 Dec 2006
Posts: 56

Digg It
PostPosted: Tue Jan 09, 2007 12:06 am    Post subject:

again. i'm worried about doing motion acceleration because i don't want to screw up my calibration data. has anyone got their calibration done fool proof yet?
Back to top
View user's profile Send private message Visit poster's website
togikun



Joined: 03 Jan 2007
Posts: 63

Digg It
PostPosted: Tue Jan 09, 2007 12:13 am    Post subject:

mikey wrote:
CarlKenner wrote:
mikey wrote:

if IR is enabled on both, both wiimotes control the mouse and in essence there are two mouse pointers (try it!).


I can't try it, I don't have two Wiimotes.
So can you tell us how you can have two mouse pointers?


all it is doing is having both wiimotes send mouse events (absolute mouse events). since windows interprets all the mouse events the pointer keeps being in both places in once. button presses are sent with their pointer position, so each wiimote presses their button in the place they are actually pointing.


Uhm... wha? The cursor can't be at two absolute coordinates simultaneously.... Or am I missing something?
Back to top
View user's profile Send private message
mikey



Joined: 25 Dec 2006
Posts: 56

Digg It
PostPosted: Tue Jan 09, 2007 1:00 am    Post subject:

togikun wrote:
mikey wrote:
CarlKenner wrote:
mikey wrote:

if IR is enabled on both, both wiimotes control the mouse and in essence there are two mouse pointers (try it!).


I can't try it, I don't have two Wiimotes.
So can you tell us how you can have two mouse pointers?


all it is doing is having both wiimotes send mouse events (absolute mouse events). since windows interprets all the mouse events the pointer keeps being in both places in once. button presses are sent with their pointer position, so each wiimote presses their button in the place they are actually pointing.


Uhm... wha? The cursor can't be at two absolute coordinates simultaneously.... Or am I missing something?


no it can't. i'm bad at writing out my thoughts apparently. what happens is the computer quickly interprets every mouse event showing the mouse in the new absolute position every time it processes one. so basically it looks like two very very fast blinking mouse pointers.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group