Trigger KeyEvents directly from Python (without actually pressing a key)

Trigger KeyEvents directly from Python (without actually pressing a key)

chr33z
Advocate Advocate
115 Views
0 Replies
Message 1 of 1

Trigger KeyEvents directly from Python (without actually pressing a key)

chr33z
Advocate
Advocate

Hi!

I wonder if its possible to trigger key events directly in a AVRED python script without actually pressing the physical key. 

 

My use case is a streaming application that would send key-events from a browser to VRED. Of course I can simply call functions in VRED that do whatever the key-press was going to do. But when a user already has custom key-events defined VRED, they could directly trigger them from a browser.

I tried injection QKeyEvents in the application context of VRED or a VRED Script Plugin but with no success.

 

Thanks for your ideas!

0 Likes
116 Views
0 Replies
Replies (0)