I have a set of Arduino Nano boards that take switch input and convert it to keyboard strokes. I'm not a programmer in any capacity beyond the most basic of scripting, so I contracted out the coding.
There's an "agent" that runs that sets what keystrokes are sent by each switch, and it also tells the Nano to turn on or off switch LEDs. The issue I'm having is that if this agent is not the "active window," VA stops acknowledging the keystrokes. I can minimize the agent to the taskbar, and my VA profile still works fine. Until I click on a different window and take focus away from the agent. Then VA stops responding. I have to then restore the "agent" and bring it forward to get VA to accept the input again.
I can set some switches to send T E and S, and if the agent is minimized and Notepad given focus, I can type "TEST" into Notepad pressing those switches.
I didn't post this in the "Bugs" forum because it isn't necessarily a bug in VA. But I was hoping maybe someone might have an idea of what I can point my contractor to for improving the input from these Nano boards?
I've attached a short video showing what I mean. In it, you can see the agent window on the left of the screen with the connected Nanos as COM5, COM4, COM6. It is initially the active window, as evidenced by its brighter title bar. I've created a small VA profile that takes the switch input and opens/closes Notepad and turns on the LED if Notepad is running, and turns it off if Notepad is closed. You can see VA logging the input initially as I press the switch. But once I click on Notepad and remove focus from the agent window, input to VA stops until I restore focus to the agent.
Any suggestions is appreciated.