Discuss Scratch

leapinleopardstar
Scratcher
500+ posts

What about gaming controllers?

i think that game controllers (like xbox, ps4, and joysticks) should be able to connect to scratch in scratch 3.0.
there could be blocks like:

<button [left trigger v] pressed? :: extension>
<button [triangle v] pressed? :: extension>
<button [4 v] pressed? :: extension>
(left stick direction :: extension)
(left stick strength :: extension)
(right stick direction :: extension)
(right stick strength :: extension)
(joystick direction :: extension)
(joystick strength :: extension)

I'm from Shadowclan, what about you?
Check out my shop Check out my other shop
<=^•ω•^= :: variables> // This is Boolnyan. She protects my siggy and eats all the evil kumquats.

october quote of the month wrote:

life is short. eat dessert first.
savaka
Scratcher
1000+ posts

What about gaming controllers?

epiccool5
Scratcher
29 posts

What about gaming controllers?

Your right, Scratch 3.0 should connect with a ps4 remote.
<button [O] pressed?>

<Dualshock 4 connected?>

topman101
Scratcher
100+ posts

What about gaming controllers?

One way you could use controllers is to trick your computer into recognizing it as a keyboard, but that's not the best way to do it…

Some random guy that likes Classic Sonic and Klik & Play.
DaBear101
Scratcher
3 posts

What about gaming controllers?

Could the Wii U Pro Controller also be considered or not?
TheDragonMaster42
Scratcher
4 posts

What about gaming controllers?

.

Last edited by TheDragonMaster42 (Feb. 23, 2018 17:25:31)

leapinleopardstar
Scratcher
500+ posts

What about gaming controllers?

TheDragonMaster42 wrote:

.
Please don't necropost.

Last edited by leapinleopardstar (June 11, 2018 11:57:52)


I'm from Shadowclan, what about you?
Check out my shop Check out my other shop
<=^•ω•^= :: variables> // This is Boolnyan. She protects my siggy and eats all the evil kumquats.

october quote of the month wrote:

life is short. eat dessert first.
leapinleopardstar
Scratcher
500+ posts

What about gaming controllers?

A 4-MONTH BUMP

I'm from Shadowclan, what about you?
Check out my shop Check out my other shop
<=^•ω•^= :: variables> // This is Boolnyan. She protects my siggy and eats all the evil kumquats.

october quote of the month wrote:

life is short. eat dessert first.
Blackout32
Scratcher
500+ posts

What about gaming controllers?

epiccool5 wrote:

Your right, Scratch 3.0 should connect with a ps4 remote.
<button [O] pressed?>

<Dualshock 4 connected?>

What about when dualshock 5 comes out?

Last edited by Blackout32 (July 24, 2018 00:12:16)


How do I get a signature?
















leapinleopardstar
Scratcher
500+ posts

What about gaming controllers?

Blackout32 wrote:

epiccool5 wrote:

Your right, Scratch 3.0 should connect with a ps4 remote.
<button [O] pressed?>

<Dualshock 4 connected?>

What about when dualshock 5 comes out?
Good questoin.

I'm from Shadowclan, what about you?
Check out my shop Check out my other shop
<=^•ω•^= :: variables> // This is Boolnyan. She protects my siggy and eats all the evil kumquats.

october quote of the month wrote:

life is short. eat dessert first.
leapinleopardstar
Scratcher
500+ posts

What about gaming controllers?

Bump

I'm from Shadowclan, what about you?
Check out my shop Check out my other shop
<=^•ω•^= :: variables> // This is Boolnyan. She protects my siggy and eats all the evil kumquats.

october quote of the month wrote:

life is short. eat dessert first.
tolopolop
Scratcher
1 post

What about gaming controllers?

I've made a bit of a BODGED gaming controller extension, it works fine for xbox controllers (tbh only tested 360 but I'm sure xbox one works fine according to THIS WEBSITE: http://html5gamepad.com/ (feel free to test other controllers and let me know your results)

Currently there is no documentation for each individual button presses because I wanted it to work for both ps4 and xbox without naming each button (but also because other people call different buttons different things, such as the mushrooms or sticks as some people call them). But you can take a look at this project of mine if you want some basic idea of each button: https://scratch.mit.edu/projects/255867457/.

It supports vibration but atm it only works on chrome due to Firefox working a bit differently, an easy fix but I'm not sure Firefox supports it yet.

The link to the extension is HERE: https://gist.github.com/mytopdog/1ef2ccdb67f60994429941090cd016bb/

Last edited by tolopolop (Oct. 26, 2018 18:37:39)

master1programer2
Scratcher
6 posts

What about gaming controllers?

I agree i would love to see ps4/xbox/nintendo switch, controllers work with scratch

Powered by DjangoBB

Standard | Mobile