I am trying to make a program so that when I press a button on my gamepad and hold it, a certain character will be written and repeated as long as I hold the button, just as a keyboard works.
Until now, I have managed to insert any character that I wanted, but the hard part is keeping it pressed.
I tried using pyGame, win32api, win32con, but I couldn't find anything useful. (Maybe I dind't have a full understanding of these libraries)
Furthermore, I am a rookie when it comes to python programming, so if you need extra info to make my question more understandable, please do tell.
Thank you.