BUG: key press / release issues


#1

I just picked up an mBot and started by following the instructions in the youtube video for controlling the mBot with keyboard commands in mBlock on Windows 10.

Each key press event only works once, the corresponding key release events don’t work at all.

I found that placing a ‘stop all’ at the end of the key press event will allow it to happen more than once, but to stop the motion I need to set up a separate key press event on another key as the key release event doesn’t happen.

I tested with moving a sprite as well to show that A) the key press event does not work past the first and B) the key release event never fires.

Has anyone else seen this, or have a solution? I would have to assume it is a bug that has either been caused by windows 10 (though I would find it odd if Microsoft changed the underlying key events) or crop up in a version since the one the demo video was made with.


#2

Dear Josh,
Do you mind to share the video you mentioned in your issues?
Thx


#3

certainly

http://learn.makeblock.cc/mbot-communication-options/ -> Option 2: Bluetooth

Youtube direct link: https://www.youtube.com/watch?t=3&v=FxAsufUNcII

Additional Testing:
double clicking on the code blocks causes them to fire appropriately (key press block will start it spinning continuously, key release block will stop it). After firing the action by double clicking, the keyboard key for that block remains unresponsive past the first time (like it is no longer listening for that particular key)


#4

have you been able to confirm the issue?