Greetings all,
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.
The only goal I had was to capture keys like shift and press/release
events while keeping them in order with mouse events which is working great.
CONS(3) states:
If the string rawon has been written to the consctl file and file is
still open, cons is in rawmode.
Yet I have not had much luck here, the only way I have been able to
prevent echoing has been to use the event library einit(Ekeyboard). So I
have duplicated the code from libdraw/event.c yet it still does not
work. Any ideas on what I am missing?
Regards,
/james
- [9fans] Raw Input Driver James Tomaschke
-