TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: MM0FMF
date: 2018-05-18 19:42:00
subject: Re: Send keystrokes from

On 17/05/2018 19:03, R.Wieser wrote:
> Hello all,
>
> I've got a program which receives instructions from an IR remote, and I
> would like to pass those instructions on, as keystrokes, to a specific
> window*.   But although I did find several "its easy to do in Python" and
> "this is how you create a keylogger" references, I could not even find a
> lead to how to do it in C / C++ **.
>
> *Ultimatily I would check what the active app is, and from it select the
> instruction-to-keystroke mapping in my program. (I've also encountered LIRC,
> but I've not seen any info in regard to either sending the learned "keys"(?)
> to an app or doing dynamic translation).
>
> ** I found several commandline tools, but that doesn't really help (shelling
> from my program to external tools is not really my thing).
>
> tl;dr:
> does anyone know how to "sendkeys" in C/C++ to a GUI app.
>
> Regards,
> Rudy Wieser
>
>
Windows or Linux or what?

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.