No key code when sending to browser source

Mooey

New Member
Hi all,

Hoping someone can point me in the right direction. Basically I have a browser source that listens for key press events.

If the browser source uses jQuery, nothing happens when I script sending the key, but if I interact with the source it detects correctly. If I use plain javascript instead, a key press event is detected but there's no detail on the key code, the generated event is {"isTrusted": true} when interacting with the source or sending the key press via script.

I'm currently using version 29.0.2(64 bit). I've tried the above using python and obs-libre-macros with identical results.

Cheers
 
Top