I am also looking for advice on what people might like for the
interface, right now I am using:
struct InputEvent {
int msec;
unsigned short type;
unsigned short code;
int value;
};
type, keyboard or mouse,
keyboard code, key down or key up
keyboard value, scancode
mouse code, buttons, dx or dy
mouse value, button bits, dx or dy values
lu...@proxima.alt.za wrote:
I have created a very simple input driver that interleaves keyboard and
mouse events for an "interactive" program I am working on. I have tried
to keep it as simple as possible, just a single callback in pc/kbd.c and
port/devmouse.c.
I've been thinking along the same lines, I'd like to see more
seamlessness between mouse and keyboard.
++L