Forums > MaxMSP

Wii to LCD

February 14, 2009 | 3:50 am

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


February 14, 2009 | 6:25 pm

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

– Pasted Max Patch, click to expand. –

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
>


February 14, 2009 | 10:02 pm

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
February 14, 2009 | 10:41 pm

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
>


October 15, 2009 | 3:43 pm

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!


December 9, 2009 | 9:49 am

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


Viewing 6 posts - 1 through 6 (of 6 total)