Expose methods to inject key events and key codes with an additional parameter to specify the "mode" (async, wait for finish, wait for result).
Expose methods to inject key events and key codes with an additional parameter to specify the "mode" (async, wait for finish, wait for result).