From owner-freebsd-hackers Fri Apr 14 12:33:27 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 2422E37B615 for ; Fri, 14 Apr 2000 12:33:25 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA38219; Fri, 14 Apr 2000 13:33:22 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA58587; Fri, 14 Apr 2000 13:33:02 -0600 (MDT) Message-Id: <200004141933.NAA58587@harmony.village.org> To: Anatoly Vorobey Subject: Re: PC Keyboard Scancodes Cc: "Daniel O'Connor" , hackers@freebsd.org In-reply-to: Your message of "Fri, 14 Apr 2000 19:52:53 +0300." <20000414195253.41151@techunix.technion.ac.il> References: <20000414195253.41151@techunix.technion.ac.il> Date: Fri, 14 Apr 2000 13:33:02 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000414195253.41151@techunix.technion.ac.il> Anatoly Vorobey writes: : Use this simple prog to cough up the scancodes: OK. Looks like the new microsoft keyboard that I have does indeed just send the scan codes. I have just a few keys: Key Down Up ---------------------------------------- Back -32 106 -32 -22 Forward -32 105 -32 -23 Stop -32 104 -32 -24 Mail -32 108 -32 -20 Search -32 101 -32 -27 Favorites -32 102 -32 -26 Web/Home -32 50 -32 -78 My Computer -32 107 -32 -21 Calculator -32 33 -32 -95 Sleep -32 95 -32 -33 See a pattern :-) -32 is 0xe0, which is also used to introduce the function keys like Insert, Delete, etc. So adding more shouldn't be too horrible. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message