Discuss Scratch

CZSuperboy
Scratcher
100+ posts

Have USB controllers added to extensions

T0RRENT_ wrote:

Support, I guess it would be useful for some games

But what if your controller was connected via Bluetooth? Would you have to have more software to run it (USB/Bluetooth), like how you do with micro:bit or LEGO Mindstorms?
No. The input would be handled by the OS with the offline editor, and by the browser online. No external software would be necessary.
TheElementGuy
Scratcher
67 posts

Have USB controllers added to extensions

I think this would defeat the purpose of scratch because someone could just play video games basically on scratch instead of actually learning code.
CZSuperboy
Scratcher
100+ posts

Have USB controllers added to extensions

TheElementGuy wrote:

I think this would defeat the purpose of scratch because someone could just play video games basically on scratch instead of actually learning code.
People already do. Adding controllers wouldn't create a problem that already exists. It will allow people to make higher-quality games, however.
TfolfanRuycid27
Scratcher
5 posts

Have USB controllers added to extensions

This would be awesome. The feature I really want to take advantage of is the rumble. Imagine how much more impactful a game would be with that!
CZSuperboy
Scratcher
100+ posts

Have USB controllers added to extensions

TfolfanRuycid27 wrote:

This would be awesome. The feature I really want to take advantage of is the rumble. Imagine how much more impactful a game would be with that!
Yeah! It would!
T0RRENT_
Scratcher
100+ posts

Have USB controllers added to extensions

CZSuperboy wrote:

T0RRENT_ wrote:

Support, I guess it would be useful for some games

But what if your controller was connected via Bluetooth? Would you have to have more software to run it (USB/Bluetooth), like how you do with micro:bit or LEGO Mindstorms?
No. The input would be handled by the OS with the offline editor, and by the browser online. No external software would be necessary.
But will it still support BlueTooth connections?
CZSuperboy
Scratcher
100+ posts

Have USB controllers added to extensions

T0RRENT_ wrote:

CZSuperboy wrote:

T0RRENT_ wrote:

Support, I guess it would be useful for some games

But what if your controller was connected via Bluetooth? Would you have to have more software to run it (USB/Bluetooth), like how you do with micro:bit or LEGO Mindstorms?
No. The input would be handled by the OS with the offline editor, and by the browser online. No external software would be necessary.
But will it still support BlueTooth connections?
Yes. That's the whole point of what I said above. Scratch wouldn't care, and likely wouldn't even be able to detect, if it was USB or BT, as handling of the controller's inputs would be done by the OS, not Scratch itself.
T0RRENT_
Scratcher
100+ posts

Have USB controllers added to extensions

CZSuperboy wrote:

T0RRENT_ wrote:

CZSuperboy wrote:

T0RRENT_ wrote:

Support, I guess it would be useful for some games

But what if your controller was connected via Bluetooth? Would you have to have more software to run it (USB/Bluetooth), like how you do with micro:bit or LEGO Mindstorms?
No. The input would be handled by the OS with the offline editor, and by the browser online. No external software would be necessary.
But will it still support BlueTooth connections?
Yes. That's the whole point of what I said above. Scratch wouldn't care, and likely wouldn't even be able to detect, if it was USB or BT, as handling of the controller's inputs would be done by the OS, not Scratch itself.
I ask that mainly because for some reason ChromeOS won't connect to Xbox controllers via BlueTooth (I used an Xbox One and an Xbox Series X controller and neither would connect properly).
Although I've never tested it with the controller(s) hooked up to USB before (on ChromeOS)…

Last edited by T0RRENT_ (Feb. 14, 2022 14:10:10)

CZSuperboy
Scratcher
100+ posts

Have USB controllers added to extensions

T0RRENT_ wrote:

CZSuperboy wrote:

T0RRENT_ wrote:

CZSuperboy wrote:

T0RRENT_ wrote:

Support, I guess it would be useful for some games

But what if your controller was connected via Bluetooth? Would you have to have more software to run it (USB/Bluetooth), like how you do with micro:bit or LEGO Mindstorms?
No. The input would be handled by the OS with the offline editor, and by the browser online. No external software would be necessary.
But will it still support BlueTooth connections?
Yes. That's the whole point of what I said above. Scratch wouldn't care, and likely wouldn't even be able to detect, if it was USB or BT, as handling of the controller's inputs would be done by the OS, not Scratch itself.
I ask that mainly because for some reason ChromeOS won't connect to Xbox controllers via BlueTooth (I used an Xbox One and an Xbox Series X controller and neither would connect properly).
Although I've never tested it with the controller(s) hooked up to USB before (on ChromeOS)…
I don't think ChromeOS supports xInput. IDK, because I've never tried to use XB1 controllers on a chromebook before. I know they work really well on Android, maybe if it's a school chromebook, BT is being blocked by your school?
T0RRENT_
Scratcher
100+ posts

Have USB controllers added to extensions

CZSuperboy wrote:

T0RRENT_ wrote:

CZSuperboy wrote:

T0RRENT_ wrote:

CZSuperboy wrote:

T0RRENT_ wrote:

Support, I guess it would be useful for some games

But what if your controller was connected via Bluetooth? Would you have to have more software to run it (USB/Bluetooth), like how you do with micro:bit or LEGO Mindstorms?
No. The input would be handled by the OS with the offline editor, and by the browser online. No external software would be necessary.
But will it still support BlueTooth connections?
Yes. That's the whole point of what I said above. Scratch wouldn't care, and likely wouldn't even be able to detect, if it was USB or BT, as handling of the controller's inputs would be done by the OS, not Scratch itself.
I ask that mainly because for some reason ChromeOS won't connect to Xbox controllers via BlueTooth (I used an Xbox One and an Xbox Series X controller and neither would connect properly).
Although I've never tested it with the controller(s) hooked up to USB before (on ChromeOS)…
I don't think ChromeOS supports xInput. IDK, because I've never tried to use XB1 controllers on a chromebook before. I know they work really well on Android, maybe if it's a school chromebook, BT is being blocked by your school?
No, they allow BT, I guess when it says that you can only use the controllers on Windows/iOS/Android its really telling the truth.

(Too lazy to snip posts)

Last edited by T0RRENT_ (Feb. 14, 2022 14:51:32)

Mozboz
Scratcher
500+ posts

Have USB controllers added to extensions

B u M p
creeperyeettt
Scratcher
500+ posts

Have USB controllers added to extensions

T0RRENT_ wrote:

CZSuperboy wrote:

T0RRENT_ wrote:

CZSuperboy wrote:

T0RRENT_ wrote:

Support, I guess it would be useful for some games

But what if your controller was connected via Bluetooth? Would you have to have more software to run it (USB/Bluetooth), like how you do with micro:bit or LEGO Mindstorms?
No. The input would be handled by the OS with the offline editor, and by the browser online. No external software would be necessary.
But will it still support BlueTooth connections?
Yes. That's the whole point of what I said above. Scratch wouldn't care, and likely wouldn't even be able to detect, if it was USB or BT, as handling of the controller's inputs would be done by the OS, not Scratch itself.
I ask that mainly because for some reason ChromeOS won't connect to Xbox controllers via BlueTooth (I used an Xbox One and an Xbox Series X controller and neither would connect properly).
Although I've never tested it with the controller(s) hooked up to USB before (on ChromeOS)…
chrome OS does work with a wiredd xbox one controller
RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

BUMP
Scratchuel21439new
Scratcher
100+ posts

Have USB controllers added to extensions

B.U.T.T. (Bring Up This Topic)
Droodling_zombie
Scratcher
93 posts

Have USB controllers added to extensions

Bump
Droodling_zombie
Scratcher
93 posts

Have USB controllers added to extensions

This would be really cool for platformers,
RPG's and shooters!
Support!
banana439monkey
Scratcher
1000+ posts

Have USB controllers added to extensions

correction, i believe the wii remote doesn't need the sensor bar to function; it only produces the ir signals while the remote is a recipient to them

Banana
CZSuperboy
Scratcher
100+ posts

Have USB controllers added to extensions

banana439monkey wrote:

correction, i believe the wii remote doesn't need the sensor bar to function; it only produces the ir signals while the remote is a recipient to them

Banana
It wom't be natively supported, nor will its extensions. Yes, it uses Bluetooth, but the Bluetooth signals it emits don't use any standard input scheme (like xInput or dInput). ST would need to write an entire driver, port it to both Windows and MacOS, as well as make it work on web browsers somehow… do you see where I'm going with this? Yes, there are ways to get Wiimotes to work on Windows, but they either are exclusive to/work with one app (Dolphin Emulator) or don't work well and are no longer being developed.
7salad3salad
Scratcher
1000+ posts

Have USB controllers added to extensions

How would it detect which type of controller you are using? surely not every controller uses the same buttons.
DerpyHead0
Scratcher
1000+ posts

Have USB controllers added to extensions

7salad3salad wrote:

How would it detect which type of controller you are using? surely not every controller uses the same buttons.
the vast majority have the same layout and the ones that don't wouldn't be supported
button names shouldn't be used, controls should be shown by the position on the controller (like how the switch shows buttons for single joycons)

Powered by DjangoBB