Zoom Support

Marius Gedminas marius at gedmin.as
Thu Dec 18 04:08:11 PST 2008

On Thu, Dec 18, 2008 at 08:58:08AM +1000, Peter Hutterer wrote:
> On Wed, Dec 17, 2008 at 05:42:42PM +0200, Marius Gedminas wrote:
> > Are workarounds (e.g. allowing users to remap keycodes > 255 to keycodes
> > < 255) possible, or too ugly to be allowed to see daylight?
> the latter. You could get around it by assigning a 3 group xkb layout on the
> device and then - in the driver - switch the group before sending a keycode
> above 255. The theory then goes that for groups 3 and above you can do keycode
> % 255 and it'll be mapped to the correct thing.
> This however assumes that
> - the driver knows about xkb and manages the keymaps accordingly.
>   which it doesnt.
> - the clients don't touch the xkb map for the device. which they do.

I was thinking more of the driver swapping around keycodes before XKB
ever gets to see them.

My laptop's keyboard has less than a hundred keys, and it's a bit weird
not to have one of them (ThinkVantage) available for binding to global
desktop actions (Lock Screen -- this was a bit funnier in older
thinkpads, where that key was labelled 'Access IBM') because all the
other keycodes under 255 are reserved for keys I don't actually have.

I realize, though, that having an extra layer of configuration in the
already messy world of input devices is not something X developers would
welcome with open arms.  ;-)

Marius Gedminas
F U cn rd dis U mst uz Unix.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20081218/baca28f2/attachment.pgp>

More information about the xorg mailing list