First page Back Continue Last page Overview Graphics
How to use our I/O driver (2)
In order to fool up an application program and let it believe that we pushed a keyboard key, we must send to the application the scancode of the key
We use the /dev/console device associated with the selected console (the active one), by issuing an ioctl()
Function that sends the scancode to the console: