Wii to LCD

Diane's icon

Hello again,
Just got my wiimote to send IR data to the aka.wiiremote object, it's easily tracking the position of my wiimote on an LCD screen with x/y coordinates. However, I'm setting up a neat patch based on drawing free hand in the LCD using the mouse, but LCD only draws a line when it gets a mouseclick. How can I hook the buttons on the Wiimote up so that LCD thinks A or B is a mouseclick? Couldn't find anything in mousestate. Any ideas? Thanks!
-Diane

Samuel Freeman's icon

use the 'lineto' message to [lcd]
(think about using a sprite to show the user where the 'pointer' is
when using Wii-IR)

Max Patch
Copy patch and select New From Clipboard in Max.

2009/2/14 Diane Douglas :
>
> Hello again,
> Just got my wiimote to send IR data to the aka.wiiremote object, it's easily tracking the position of my wiimote on an LCD screen with x/y coordinates. However, I'm setting up a neat patch based on drawing free hand in the LCD using the mouse, but LCD only draws a line when it gets a mouseclick. How can I hook the buttons on the Wiimote up so that LCD thinks A or B is a mouseclick? Couldn't find anything in mousestate. Any ideas? Thanks!
> -Diane
>

Jonathan Hallstrom's icon

Diane, you said that you got your Wii remote to send IR data. How did
you get the data into your Mac? Isn't the Wii IR receiver basically
hardwired to the base-unit?

Jon

2009/2/14 Diane Douglas :
>> Hello again,
>> Just got my wiimote to send IR data to the aka.wiiremote object, it's easily tracking the position of my wiimote on an LCD screen with x/y coordinates. However, I'm setting up a neat patch based on drawing free hand in the LCD using the mouse, but LCD only draws a line when it gets a mouseclick. How can I hook the buttons on the Wiimote up so that LCD thinks A or B is a mouseclick? Couldn't find anything in mousestate. Any ideas? Thanks!
>> -Diane
>>
>>
>
>

--
Jon Hallstrom
Dept. of Music, Colby College
5674 Mayflower Hill
Waterville, ME 04901
207-859-5674

bdc's icon

What Nintendo calls the IR receiver is really an IR transmitter - the
bar has 4 IR LEDS in it that are picked up by the IR camera in the
wiimote. So the wiimote is actually the IR receiver and sends the IR
data to the Mac.

Brad

On 14-Feb-09, at 3:02 PM, Jonathan F. Hallstrom wrote:

> Diane, you said that you got your Wii remote to send IR data. How
> did you get the data into your Mac? Isn't the Wii IR receiver
> basically hardwired to the base-unit?
>
> Jon
>
> 2009/2/14 Diane Douglas :
>>> Hello again,
>>> Just got my wiimote to send IR data to the aka.wiiremote object,
>>> it's easily tracking the position of my wiimote on an LCD screen
>>> with x/y coordinates. However, I'm setting up a neat patch based
>>> on drawing free hand in the LCD using the mouse, but LCD only
>>> draws a line when it gets a mouseclick. How can I hook the
>>> buttons on the Wiimote up so that LCD thinks A or B is a
>>> mouseclick? Couldn't find anything in mousestate. Any ideas?
>>> Thanks!
>>> -Diane
>>>
>>>
>>
>>
>
> --
> Jon Hallstrom
> Dept. of Music, Colby College
> 5674 Mayflower Hill
> Waterville, ME 04901
> 207-859-5674
>

dramas4me's icon

Hello I'm also fairly new to Max and I'm trying to achieve the same thing- to be able to "draw" with the wiimote on a LCD in max. So what exactly do you do with the lineto message? Because I created a message and wrote lineto and connected it the LCD but it didn't do anything.. is it an object? or something else? and then would I assign a button on the wiimote to be the mouse? Any help would be great, thanks!

mmiles54's icon

Does anyone have any suggestions on how to go about using the wiimote/infra red dot on my finger to interface with a sampler in max msp. I just want to control faders and panning, so basically up down and left right

Matt