How do I do a global keyboard hook on Linux in C?
I need a sensei ;A;
>>108275908stop breaking into peoples houses Jamal
>>108275908Download someone else's FOSS implementation then monitor them so you know to switch away if they have the wrong opinions.
>>108275929Huh>>108275916What
>>108275908You can just read keyboard events out of /dev/
>>108275908With or without superuser privileges? With superuser you can use evdev to get raw keyboard events. Without you can use xlib or xcb.
>>108277998If he wants to "hook" the events that probably means he wants the event to do something and not send a keycode, which necessitates uinput probably