From mint-bounce@lists.fishpool.fi Mon May 15 15:51:12 2006 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de From: "Peter Persson" To: "mintlist " Message-ID: <19702341447141@lycos-europe.com> X-Mailer: LycosMail X-Priority: 3 X-Originating-IP: 212.214.229.151 Mime-Version: 1.0 Subject: [MiNT] Raw keyboard device? Content-Type: multipart/mixed; boundary="=_NextPart_Lycos_71411970234145_ID" Date: Mon, 15 May 2006 13:43:47 +0000 (GMT) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: pep.fishmoose@home.se Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=2.3 tagged_above=-50.5 required=7.0 tests=AWL, BAYES_00, MIME_BOUND_NEXTPART, RCVD_IN_SORBS X-Spam-Level: ** This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --=_NextPart_Lycos_71411970234145_ID Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Hi people, In games and emulators, it is often useful to be able to know if two keys are pressed at once. Currently, the only way to do this is to take over the IKBD vector. Suggestion - how about adding a device which returns the current state of each scancode? E.g. "/dev/rawkbd"? A temporary solution could be to write a driver which takes over the IKBD vector when opened, and restores the vector when closed. The downside of this is that if stuff goes horribly wrong and the application crashes, the OS will most likely not gain access to the keyboard again, and a reboot is required. A much better solution would be to have this functionality integrated in the kernel, and use the OS IKBD handler at all times. I'm sorry if this has been discussed before, or if this functionality exists (in such case, please excuse my ignorance). Any comments? -- Peter --=_NextPart_Lycos_71411970234145_ID--