* Bogus mouse key events
@ 1999-02-01 21:18 Benjamin Herrenschmidt
0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 1999-02-01 21:18 UTC (permalink / raw)
To: linuxppc-dev, Paul Mackerras; +Cc: Cort Dougan
I finally found where my conflicts on the PowerBook G3 Series and the
"Fn" key came from. It's simple: the "fake" keycode used by the console
code (and so by Xpmac) for the middle button is 0x3f, which is also the
keycode used by this "Fn" key...
So either we change the middle key code in both the kernel and Xpmac, or
(simpler), we add code for remapping the "Fn" key to something else.
I'm not (yet) very familiar with the linux keymap and keycode-map, so I
would like someone who knows this better than me to suggest a keycode to
which I could remap the "Fn" key without conflicting. I was thinking
about the equivalent of PC's alt-gr, but it may cause other kind of trouble.
This key must be handled in a really special way, since it may be used as
a mouse button modifier (using the "adb_buttons=2,x,y" patch), but it
should be ingnored in some cases (page-up, page down for example) since
the keyboard hardware will automatically send the correct modified keycodes.
So, any suggestion for a new keycode that won't conflict with anyone ?
--
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 ]]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-02-01 21:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-01 21:18 Bogus mouse key events Benjamin Herrenschmidt
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).