From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49C33F19.6020905@orcasystems.com> Date: Fri, 20 Mar 2009 00:00:41 -0700 From: James Tomaschke User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] Raw Input Driver Topicbox-Message-UUID: bf9fcd78-ead4-11e9-9d60-3106f5b1d025 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