Hello, I am working on a BrickPi robot project and need some help. What I would like for the robot to be able to do is if the user presses and holds the “w” key, then the robot will move forward. I would like to eliminate the need for the raw input, which requires the enter key to be held down after you press the desired direction key. How can I do this? I tried to use the msvcrt and getch, since as I read they work for windows platforms, but is there any way I can do this with Linux (raspberry pi)?
I would very much appreciate your help, as I simply cannot get it to work.