Results 102 comments of Campbell Barton

In this case your probably better off using ydotool which simulates a separate keyboard. It generally seems to have less issues and works on X11/Wayland.

Thanks for the PR, please squish noisy changes (for example, making sample rate a hard-coded value, then using the configured value again).

Ran some more tests on this and responsiveness seems to have dropped a little, from looking into this - it seems `time.sleep(idle_time_test)` is sleeping even when the queue has data...

> I have moved the test to idle in the case where the queue of data is empty. This is indeed more responsive. Thus I use smaller chunks from the...

BTW, did you check on non-blocking reads for WIN32? https://stackoverflow.com/questions/2408560/non-blocking-console-input

I've been considering this PR and something that doesn't sit well with me is that it complicates the code by adding threading which is only needed for Windows, which I...

Nice to see this moved into examples, although this is significant enough that I think it should be a separate example, since it contains quite a lot of command specific...

While I don't think it's a priority to support arbitrary input (this moves away from general dictation). It seems reasonable to support a `--stdin` command line argument which could take...

@Lunatik00 could you check if using `ydotool` resolves this problem? (I realize it's a bit of a hassle to setup).

Is there any reason to keep this issue open?