Getting straight input from keyboard, overlooking X

I've made an equipment keylogger for PS/2 (it is attached in between keyboard and also PC) and also it is saving keystrokes straight as keyboard is sending out signals. When tool unloads information to the computer system, every little thing goes specifically the like regular keyboard. I would certainly such as to write an application which conserves the dump. When customer kinds just message, there is no worry - I can open any kind of full-screen editor and also every little thing is conserved there. The trouble is when customer kinds key mixes like ALT+TAB, CTRL+F1, CTRL+An and also comparable.

My inquiry is - just how to pass the keyboard keystrokes straight to submit overlooking X?

2019-12-02 03:11:31
Source Share
Answers: 1

You need to have the ability to make use of the input-events command (on debian from the input-utils plan), conversely you can make use of xev to see all x - occasions.

2019-12-03 05:04:45