Monday, 1 March 2021

How to send DirectInput keys to an inactive window in Python

I would like to send DirectInput keys to an inactive window without interfering with my actual mouse. I tried using PostMessage, SendInput and SendMessage but pywin32 uses virtual keycodes while ctypes does work with DirectInput. I have no idea how I can make it send in an inactive window.



from How to send DirectInput keys to an inactive window in Python

No comments:

Post a Comment