Setting up keybinds in python on button click using PyQt5?

Viewed 16

I am trying to make it so where when I click on a button and use .clicked.connect() for a PyQt5 button that I can then listen for the next keystroke and to update the button text with that keystroke similar to how keybinds work in video games, actually exactly like that.

I have the rest of the script working, I just need to figure this part out.

0 Answers
Related