[NTLUG:Discuss] Inserting characters into the console

John R. Hall reeves at earthling.net
Thu Jan 13 00:32:37 CST 2000


I just hacked Intellimouse wheel response into GPM, but currently it only
logs the wheel motion to a file. I'd like to make it cause arrow key presses on
the current virtual terminal. Does anyone know how to do this? More generally,
how can I cause keystrokes on the current virtual terminal?

FYI, the Intellimouse Explorer's 4-byte PS/2 packets are as follows:
8 0 0 1 for wheel down
8 0 0 255 for wheel up

I am not able to get the side buttons to respond at all. They don't seem to
generate any data; perhaps that's a USB-only feature. Can anyone confirm this?
I'd really like to bind those buttons to commands.

Thanks!
-Reeves




More information about the Discuss mailing list