Pages: 1
Hi, I'm working on wiimote controller input to answer johnnydean1's question and am making progress.
The current way I'm getting analog input: glovePIE is converting a analog tilt value to key tapping... then scratch is converting the keyboard taps into a tilt variable; but the result is jerky.
So, is there a direct way to get analog input into scratch?
Is there a way to fake scratch into using a joystick or other analog control, thinking it's the senorboard? so we could use the tilt, slider or resistance blocks?
(but I realize this wouldn't work online, so I'll try to use mouse input... but I went with the tapping idea so that the mouse could still be used, and possibly use multiple tilt sensors...nunchuck... multiple wiimotes, (ooh, I have an idea) it would be nice if there was a better way.)
Last edited by AddZero (2010-04-15 16:01:00)
Offline
AddZero wrote:
Hi, I'm working on wiimote controler input and am making good progress.
But to get analog input, glovePIE is converting a analog tilt value to key tapping... then scratch is converting the keyboard taps into a tilt variable; but the result is jerky.
So, is there a direct way to get anaolg input into scratch?
Is there a way to fake scratch into using a joystick or other analog control, thinking it's the senorboard? so we could use the tilt, slider or resistance blocks?
(but I realize this wouldn't work online, so I'll try to use mouse input... but I went with the tapping idea so that the mouse could still be used, and possibly use multiple tilt sensors...nunchuck... multiple wiimotes, (ooh, I have an idea) it would be nice if there was a better way.)
Maybe built in suport insted of having to use GlovePIE would be the best solution, but thats not likely to come anytime soon (I dare you Scratch Team to work it into 2.0) So i geuss its down to the Scratchers to work it out, like we always to eventualy.
So what is this Tapping/mouse input stuff your talking about?
Offline
markyparky56 wrote:
Maybe built in suport insted of having to use GlovePIE would be the best solution, but thats not likely to come anytime soon (I dare you Scratch Team to work it into 2.0) So i geuss its down to the Scratchers to work it out, like we always to eventualy.
I don't think squeak has wiimote support...
but glovePIE can make the wiimote into a joystick.
Squeak can get joystick input, so someone COULD make (joystick x) (joystick y} blocks for scratch... but it would mean people would have to use hacked scratch, I want something that works easier than that... I have another idea I'm working on. (get glove pie to convert multiple analog signals (tilt, nunchuck control stick) to mouse positions... that scratch converts back. )
markyparky56 wrote:
So what is this Tapping/mouse input stuff your talking about?
As I explained, that's a workaround, it's how I made it work for now. instead of having a variable that can report -90 to 90 degrees directly to scratch. I'm making glovePIE tap the a and d keys more and less depending on the angle, my scratch program converts the tapping into an angle. but the result is jerky, so I want to get the number directly. so if there was an easy way to get joystick control into scratch we'd be set.
Last edited by AddZero (2010-04-15 14:57:15)
Offline
Cool get the idea from me?
Offline
johnnydean1 wrote:
Cool get the idea from me?
yeah, you started it! I just put your name up there.
I answered your "is it possible to make the wiimote work with scratch?" question
and now I'm trying to answer your "can you use the tilt sensor block with wiimote?" question. they're good tough questions...
Last edited by AddZero (2010-04-15 16:35:23)
Offline
Thx lol
Offline
Ok how about connecting a scratch board and a Wii Remote and getting it to code it for you?
Offline
AddZero wrote:
Squeak can get joystick input, so someone COULD make (joystick x) (joystick y} blocks for scratch... but it would mean people would have to use hacked scratch, I want something that works easier than that... I have another idea I'm working on. (get glove pie to convert multiple analog signals (tilt, nunchuck control stick) to mouse positions... that scratch converts back. )
But thats for linux. But its a start...
Offline
This summer at the Scratch@MIT conference I'll be presenting a new scratchboard that has a 3-axis accelerometer. We're using them in the labs at UMass Lowell right now, and are doing all sorts of motion sensing projects.
Just a heads-up. :-)
http://www.cs.uml.edu/ecg/index.php/IchiBoard/
Offline
msherman wrote:
This summer at the Scratch@MIT conference I'll be presenting a new scratchboard that has a 3-axis accelerometer. We're using them in the labs at UMass Lowell right now, and are doing all sorts of motion sensing projects.
Just a heads-up. :-)
http://www.cs.uml.edu/ecg/index.php/IchiBoard/
Cool! Looks confusing but cool.
Offline
markyparky56 wrote:
But thats for linux. But its a start...
I didn't give a good link showing that squeak can take joystick input, here's a better one.
msherman wrote:
This summer at the Scratch@MIT conference I'll be presenting a new scratchboard that has a 3-axis accelerometer. We're using them in the labs at UMass Lowell right now, and are doing all sorts of motion sensing projects.
Just a heads-up. :-)
http://www.cs.uml.edu/ecg/index.php/IchiBoard/
That looks awesome, thanks for sharing!
(if we modified a sensorboard driver to take wiimote input we'd be set, but that wouldn't work online... I'll try out the mouse moving method.)
Last edited by AddZero (2010-04-16 11:48:46)
Offline
Can you please modify the driver, and then work on way 2 ( the mouse) so then be could atleast have it working.
Offline
AddZero wrote:
markyparky56 wrote:
But thats for linux. But its a start...
I didn't give a good link showing that squeak can take joystick input, here's a better one.
Thats much better, but what ar they using in that? I know its squeak, but they're talking about supplies flaps and stuff. Is there a squeak editor or something? Because scratch's squeak definetly doesn't have that.
Offline
markyparky56 wrote:
AddZero wrote:
markyparky56 wrote:
But thats for linux. But its a start...
I didn't give a good link showing that squeak can take joystick input, here's a better one.
Thats much better, but what ar they using in that? I know its squeak, but they're talking about supplies flaps and stuff. Is there a squeak editor or something? Because scratch's squeak definetly doesn't have that.
That's using the official squeak from squeak.org

Offline
Sperry wrote:
markyparky56 wrote:
AddZero wrote:
I didn't give a good link showing that squeak can take joystick input, here's a better one.Thats much better, but what ar they using in that? I know its squeak, but they're talking about supplies flaps and stuff. Is there a squeak editor or something? Because scratch's squeak definetly doesn't have that.
That's using the official squeak from squeak.org
Ok, iv got what i need for that tutorial... lets see how it works... i dont see how this will help with scratch though, its just how do you dismantle an image file... thats a question...
Offline
↑ = Necropost? I like this topic, but its about 2 months+ old.
Offline
Pages: 1