This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-04-17 19:47:47

scratch_yoshi
Scratcher
Registered: 2009-06-12
Posts: 1000+

Any way to use a controller?

I was just wondering, can you use a Microsoft USB controller for scratch projects?


Retired from Scratch, but just the language itself. Not the forums.

Offline

 

#2 2010-04-17 20:37:24

AddZero
Scratcher
Registered: 2007-08-11
Posts: 100+

Re: Any way to use a controller?

Sure, use GlovePIE to convert joystick input to key presses or mouse input. 
I used it to make the wiimote work with scratch.  it's easy to make the buttons work, but it's more work to make the analog sticks work.  You can reuse my tilt reporting.
http://scratch.mit.edu/forums/viewtopic.php?pid=368702#p368702

Let me know if you want help.

Last edited by AddZero (2010-04-17 20:45:58)


http://scratch.mit.edu/static/icons/buddy/524717_med.png?t=2010-06-15+09%3A48%3A36

Offline

 

#3 2010-04-17 20:55:50

itchyone
Scratcher
Registered: 2009-08-15
Posts: 100+

Re: Any way to use a controller?

Another great program is joy2key. It's very simple to use, and it works in any application, as it simulates keyboard and mouse presses.


Build your own platformer with BYOP!
Want to test some highly dangerous Wormholes? For science?

Offline

 

Board footer