keyboard - Best way to emulate hardware input? -
i used autoit because of versatility , semplicity solve repetitive problems on windows. want try improve way code works.
the major problem have encountered work hardware input on non-software level. want use "pure" input i'm pressing key on keyboard or clicking on mouse instead of emulating mouse-clicking or key-pressing autoit.
i searched solution several days on google before asking here, , had 2 ideas. maybe work, i'm sure aren't best methods solve problem.
1: use c++ keyboard/mouse apis - make perfect emulation of "hardware" signal or seen virtual signal anyway?
2: use arduino - have found apis same result. thought have been because input usb source. can request sending of key keyboard press key itself. intricate , exaggerated?
however i'm wrong , laughing @ these ideas because stupid , insane :p
i have little knowledge of c++. if best way reach target, hard learn solve problem?
but important question is: are solutions good, or there easier ways?
thanks in advance!
i not think understand problem trying solve here have experience using arduino keyboard/mouse emulator. there documentation built in mouse , keyboard library here: https://www.arduino.cc/en/reference/mousekeyboard. note these functions work on arduino models sure check if compatible before purchasing arduino board. in experience, it's easy program , works quite well.
Comments
Post a Comment