From: Benjamin Herrenschmidt <bh40@calva.net>
To: linuxppc-dev@lists.linuxppc.org, Paul Mackerras <paulus@cs.anu.edu.au>
Subject: PowerBook G3 Series kbd patch
Date: Thu, 11 Feb 1999 16:33:18 +0100 [thread overview]
Message-ID: <19990211163318.028314@mail.mipsys.com> (raw)
Here's a quick patch that remaps the "Fn" key of the Powerbook G3 Series
keyboard to an unused keycode (actually 0x7e). I'll post clean
vger-related patches later (when vger is back), this one is relative to
Paul's rsync tree. (Paul:You may want to include it now, I don't think it
breaks anything).
The original keycode of this key is 63, and conflicts with the buttons
emulation of Xpmac.
--- linux.orig/drivers/macintosh/mac_keyb.c Tue Jan 26 00:18:30 1999
+++ linux.dev/drivers/macintosh/mac_keyb.c Tue Feb 9 22:39:18 1999
@@ -322,6 +322,9 @@
/* on the powerbook 3400, the power key gives code 0x7e */
if (keycode == 0x7e)
keycode = 0x7f;
+ /* remap the "Fn" key of the PowerBook G3 Series to 0x7e */
+ if (keycode == 0x3f)
+ keycode = 0x7e;
#ifdef CONFIG_ADBMOUSE
/*
--
E-Mail: <mailto:bh40@calva.net>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
reply other threads:[~1999-02-11 15:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19990211163318.028314@mail.mipsys.com \
--to=bh40@calva.net \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=paulus@cs.anu.edu.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).