Hi, I am brand new to Arduino,
I was wondering whether it is possible to call some of the Keyboard.xxx functions by events generated at the WinAPI level to generate a physical key press. For those of you who are wondering, this is not for creating game bots or spammers I need to interface with an assistive technology software for using an alternate access method.
I have a software that takes the events of “F12” keystroke as an activation switch. I’ve tried using most common “sendKey/ scancode” functions in python, C++, C#, and also AutoIT, AutoHotKey to achieve this - none of them has worked.
This is because, this specific software filters out simulated keypresses by the common method of listening to the LLKBHF_INJECTED flag (LowLevelKeyBoardHookFlag_INJECTED; 0x10).
Unfortunately, from what I read, Windows generates the flag above for all simulated keystrokes generated at the WinAPI level. I would write my own keyboard driver, except that I have no idea how to.
So, I was wondering whether I can trigger some of the Arduino functions (with Arduino Micro attached to the computer) by calling it from Python, C++, C# etc…
Thank you in advance!