Game controllers should have event blocks


#1

The Game Controller support is extremely limited. There are just two blocks added by this extension (to query the state of the device). Can we please get event-based blocks as well, eg:

When controller button ____ state changes
When controller <L / R> thumbstick moves


#2

Bumping this up. To provide example here about why this is important, mBlock is guiding students to do things like this:

That’s burning threads just polling the state of valuators in a busy loop. The game controller API needs event blocks, so students don’t need to make their own using anti-patterns we should be discouraging.


#3

Sadly, this forum isn’t actively viewed by makeblock and feature requests here won’t get much attention.
I’ve been told that the makeblock team has plans for creating a new forum in the ‘future’, but I don’t know when that is.


#4

Use the event blocks If, then, or If then else to control.