0

I'm currently working on a robot that uses keyboard inputs to move servos. I'm using the curses python library to control the key inputs, and pigpio to control the servos. Is there a way to detect when a key is released using curses? It would make things a whole heck of a lot easier.

  • I will not put this in an answer as it does not use curses so it’s NOT the fix you want but the Python keyboard module has keyboard.on_release() that supports a callback function when a key is released. – Andyroo May 5 at 22:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.