sending a byte to keyboard buffer

From: Maikon Bueno
Date: Tue Aug 03 2004 - 09:32:55 EST


Hi all,
I'm writing a driver for a mouse.
When a button is pressed, the driver must send a char to the keyboard buffer.
So, mouse buttons must behave like keyboard keys.
I would like to know how to send a char to the keyboard buffer. Is it need to
use the outb() function?
Does anybody know how to do that?
Thanks!

Maikon.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/