Subject: Re: radeonfb, VTs and trackpad
To: Peter Bex <Peter.Bex@xs4all.nl>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 01/16/2007 14:57:48
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jan 16, 2007, at 14:42, Peter Bex wrote:

> On Tue, Jan 16, 2007 at 02:09:56PM -0500, Michael Lorenz wrote:
>> XFree86's internal ADB keymaps were full of errors and weirdnesses, 
>> not
>> sure if I fixed everything, probably not. At least Alt should be Alt
>> now, for some reason it was mapped to Command ( which may be more
>> PC-like but I think the default should match what's printed on the 
>> keys
>> )
>> If you find more weirdnesses like keys not responding, sending totally
>> wrong events etc. please let me know - it works fine on my machines 
>> but
>> all my keyboards are either UK or US so that's hardly representative.
>
> After changing the keyboard driver to kbd, I could remove almost all of
> my mappings.  Those that remain are to set up Pointer_EnableKeys and
> some personal preferences.

Ah yes, mouse emulation. I have a replacement ADB subsystem that lets 
you define which keys to translate into mouse events, should probably 
just commit and label it as experimental.

> Treating the little 'enter' at the lower right of the keyboard which 
> sends keycode 200 as Alt_R is a little surprising (it is marked the 
> same as the normal enter's "fn"/num-lock
> variant, ie KP_Enter), it isn't a problem.

Indeed. Looks like whoever wrote this map tried to make an Apple 
keyboard feel like a PC keyboard - I'll fix that.

> There is also one dead key: the "+/-" or "paragraph sign" key at the
> top left, just below Escape.  When I press it, xev doesn't react at 
> all.

Hmm, it should at least generate an event of some sort, even if it's 
not translated to anything useful. Got to figure out which actual 
scancode it sends.

> This is on a "US" keyboard, but I bought the iBook in the Netherlands,
> so it might have slight differences from actual US keyboards.

Probably same as mine then - bought in Germany with an 'international 
keyboard'. For all I know it's identical to the US variant apart from 
cosmetics like Alt vs. Option.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRa0uPMpnzkX8Yg2nAQIDwwgAj32F2tBNdncDDU0CTVvNK367PVPnHgpQ
Ie1qi7cYdrdBNvBzX9KcL/abdLX2+dhFHnfmLvoRMkc97QtdVwdwUKMxGvmMrsSf
9xydXWd84qxAiapx6X1MiGRiPv5VqgR2Wbzef0kAHYGw6sRLSudGkVsN7gbjhb3V
xgEYsZiqjVBT3W2GL6yZ3W9X+d48blbJ2eg6fVEH6L6/GbQf73YpuVeB+E0Ex9rf
0ZyxIL2jtXiRKzQMM3fxgKM7f1em5cKX+AtI8eTfm9zZSYM6sdOIS3sqsmY5UTxJ
aY6MPq3c2PWvANEEzY/QjuXNymOFr2t3lqoG7uGDzVqzVRhCG6XKrg==
=mtKE
-----END PGP SIGNATURE-----