Discuss Scratch
- Discussion Forums
- » Connecting to the Physical World
- » Idea: USB JoyStick
- VoltageGames
-
1000+ posts
Idea: USB JoyStick
I have an idea for a USB connectable JoyStick for Scratch. (Joystick, one long stick with a button on top) Possible blocks: When joystick-button pressed, <joystick-button pressed?> <joystick-button held for () secs?> (direction of joystick point)
etc.
Thoughts?
etc.
Thoughts?
Last edited by VoltageGames (June 18, 2014 04:49:43)
- drmcw
-
1000+ posts
Idea: USB JoyStick
There are joystick programs that were used with 1.4 and would also work with 2. They converted a joystick to key presses so if you moved the joystick up it would generate an up arrow key press etc. and you could define what event the joystick buttons created.
But yes you could also create an extension and have blocks like you mention which would also be good.
But yes you could also create an extension and have blocks like you mention which would also be good.
- sdmeijer
-
100+ posts
Idea: USB JoyStick
You can make your own joystick with a MaKey MaKey.
And then use keypresses in Scratch to control your project.
And then use keypresses in Scratch to control your project.
- Discussion Forums
- » Connecting to the Physical World
-
» Idea: USB JoyStick