❔ some sort of global keyboard and mouse detection?

hey, i want to write a programm where it is neccessary to detect save and play keyboard and mouse ,,events,, in and outside of my programm, and i dont know what to look up, it would be nice if someone could tell what to look into to achieve my goal?
7 Replies
Sossenbinder
Sossenbinder9mo ago
For windows there are a bunch of OS specific events you can consume Something like [DllImport("user32.dll")] private static extern bool GetLastInputInfo(ref LastInputInfo lastInputInfo);
Buddy
Buddy9mo ago
What are you making?
Will
Will9mo ago
GitHub
GitHub - TolikPylypchuk/SharpHook: SharpHook provides a cross-platf...
SharpHook provides a cross-platform global keyboard and mouse hook, event simulation, and text entry simulation for .NET - GitHub - TolikPylypchuk/SharpHook: SharpHook provides a cross-platform glo...
RohesKätzchen
RohesKätzchen9mo ago
Thx im going to look into all of thos things but im leaving this thread open incase its not what i want, thx :) Im trying to programm a macro recorder Btw i dont want a explicit soluten for a macro recorder, id like to figure most things out for myself :D
Accord
Accord9mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
RohesKätzchen
RohesKätzchen9mo ago
ive been searching around for a while and would like to use this user32.dll library stuff, but i couldnt figure out where to start and how to implement it? can anyone help me out i want to capture the keyboard and mouse inputs?
Accord
Accord9mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts