key or Meta, someone can guide me ?
in linux userland the big picture is like this: - find keyboard event file in /dev/input using dirent api and ioctl syscall - tune signals actions with sigaction and capture SIGINT and read the keyboard event file and fill input_event struct - check if the event was a key press and if the pressed key is what you want
Обсуждают сегодня