In the calibration example, once a key was pressed, it got stored in a global variable. This lead to basically repeating this key until another key gets pressed.
This PR changes this behavior to expect one keypress per movement step. Without a keypress, the movement stops now.
In the calibration example, once a key was pressed, it got stored in a global variable. This lead to basically repeating this key until another key gets pressed.
This PR changes this behavior to expect one keypress per movement step. Without a keypress, the movement stops now.