From owner-freebsd-hackers Tue May 23 15:41:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from marvin.kazrak.com (adsl-209-233-16-235.dsl.snfc21.pacbell.net [209.233.16.235]) by hub.freebsd.org (Postfix) with ESMTP id C364937B733 for ; Tue, 23 May 2000 15:41:27 -0700 (PDT) (envelope-from brad@kazrak.com) Received: by marvin.kazrak.com (Postfix, from userid 1001) id A47BF2CC; Tue, 23 May 2000 15:41:27 -0700 (PDT) Date: Tue, 23 May 2000 15:41:27 -0700 From: Brad Jones To: freebsd-hackers@freebsd.org Subject: Adding extra keys to kernel and X (MS keyboards) Message-ID: <20000523154127.A8130@marvin.kazrak.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've added kernel support for the extra keys on my MS Internet Keyboard Pro (all 19 of them) to atkbd.c, using keycodes 0x6d-0x7f. (I can submit the patches to /usr/src/sys/dev/kbd/atkbd.c, /usr/src/sys/dev/kbd/kbdtables.h, and /usr/share/syscons/keymaps/us.iso.kbd if people are interested, but I'd like to make sure the keycodes in question are reasonably standard first.) Now, I need to add support to X for them...and it doesn't seem to work. I've added some keycodes for them to the files in /usr/X11R6/lib/X11/xkb/keycodes/xfree86, and xkbcomp :0 shows them present, but xev shows no events for them, even if I bind some with xmodmap. Current config is 5.0-CURRENT, running XFree 3.3.6 installed from package. Any pointers or suggestions? BJ -- Brad Jones -- brad@kazrak.com Any connection between your reality and mine is purely coincidental. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message