From owner-freebsd-hackers Thu Apr 20 0:53:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id D370F37B564; Thu, 20 Apr 2000 00:53:05 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id RAA10727; Thu, 20 Apr 2000 17:22:49 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 20 Apr 2000 17:22:49 +0930 (CST) From: "Daniel O'Connor" To: Brian Fundakowski Feldman Subject: Re: PC Keyboard Scancodes Cc: hackers@FreeBSD.ORG, Anatoly Vorobey , Warner Losh , Mike Pritchard Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 19-Apr-00 Brian Fundakowski Feldman wrote: > I've got a nice script and better version of scancodes.c to do this for > me > now, so here goes :) These are the keys on the Logitech cordless > keyboard, > and they are undoubtedly the same for the rest of the Logitech iTouch > keyboards. Script or scancodes.c on request, of course :) I hope this > will help whosoever decides to take upon the task. I don't suppose you could change 'ch' to be 'unsigned char' and print the values as hex? I'm too lazy to convert them :) I've altered atkbd.c to grok the new keys, I also added 'power' and 'halt' to kbdcontrol/syscons - so now the power button works 8-) I think for a lot of the other keys we'll need a userland daemon which talks to syscons to handle stuff. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message