PowerBook G3 Series kbd patch
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.
drivers/macintosh/mac_keyb.c +3 -0
@@ -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 /*
Signature · 11 lines
E-Mail: <mailto:[email protected]> 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 [email protected] ]]