Hallo zusammen,
ich möchte herausfinden, ob jemand die Tastatur oder Maus bewegt hat. Bei der Maus werde ich dies wohl dadurch erreichen können, dass ich ständig die Anfangsposition mit mousgetpos vergleiche.
Bei der Tastatur könnte man zwar dauernd jede Taste mit ispressed abfragen, aber ich glaube, das lastet den PC aus und ist auch einiges Arbeit.
Irgendwo habe ich aber gelesen, dass man auch einfach die zuletzt gedrückte Taste sich ausgeben lassen kann. Die würde ich dann laufend mit der "Anfangs"-Taste vergleichen. Leider weiß ich nicht mehr den Befehl. Ich hoffe, da kann mir jemand weiterhelfen
LG FKFK