Describe the bug
On Spike Prime we kept left/right/bluetooth button pressed while starting the program with the center button.
In the program we performed special actions, if buttons were pressed at startup with:
if Button.LEFT in hub.buttons.pressed():
....
With Pybricks 4.x the program does not start if any other button is pressed.
As mitigation we are using different slots.
Expected behavior
Could work again, if you would toggle the slots on button release.
Describe the bug
On Spike Prime we kept left/right/bluetooth button pressed while starting the program with the center button.
In the program we performed special actions, if buttons were pressed at startup with:
With Pybricks 4.x the program does not start if any other button is pressed.
As mitigation we are using different slots.
Expected behavior
Could work again, if you would toggle the slots on button release.