Search engines, dig this:

How to get your alt key, keyboard, and mouse emulation working on a
tibook with woody, under Debian GNU/Linux PPC.

In your yaboot.conf, add a similar line:

image=/boot/vmlinux-2.4.4
        label=stable
        root=/dev/hda12
        append="keyboard_sends_linux_keycodes=1"
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        partition=12
        read-only

Be sure to run ybin.

Also, edit

/etc/console/boottime.kmap.gz

So that it has

keycode 125 = Alt

This sets up the apple key to be Alt.

In /proc/sys/dev/mac_hid/ I also have

mouse_button_emulation set to 1, and the values

mouse_button2_keycode = 96
mouse_button3_keycode = 56

Which means that the 'enter' key acts as mouse button two, and the
'alt/option' key acts as mouse button 3, which is convenient, as they
are located just above the trackpad.

-- 
David N. Welton
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/

Reply via email to