Re: [iPAQ] button/keycode mapping

From: Jim Gettys <jg.a.t.pa.dec.com>
Date: Thu Aug 10 2000 - 12:59:38 EDT

Hey, folks: NEVER use keycodes: use keysyms... Or your apps will break
when used on some other platform with different keysym->keycode mappings....

There are keysyms defined for all of these buttons...

I wish we'd never put keycodes into the protocol at all...
                                - Jim

> Sender: ipaq-admin@handhelds.org
> From: Russ Nelson <rn-handhelds@crynwr.com>
> Date: Tue, 8 Aug 2000 11:17:44 -0400 (EDT)
> To: ipaq@handhelds.org
> Subject: [iPAQ] button/keycode mapping
> -----
> Jim Gettys writes:
> > > 3) The 10 switches (record, power, calendar, contacts, Q, menu, plus 4
> > > directions).
> >
> > Those are all mapped in the X server, though I'll be adding some shifted
> > keysyms soon.
>
> Aha!
>
> Record = 116
> Calendar = 117
> Contacts = 118
> Q = 119
> Menu = 120
> Up = 121
> Right = 122
> Left = 123
> Down = 124
>
> No mapping for the power button.
>
> --
> -russ nelson <sig.a.t.russnelson.com> http://russnelson.com | If you think
> Crynwr sells support for free software | PGPok | health care is expensive now
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | now, wait until you see
> Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | what it costs when it's
> free.
> _______________________________________________
> iPAQ mailing list
> iPAQ@handhelds.org
> http://handhelds.org/mailman/listinfo/ipaq

--
Jim Gettys
Technology and Corporate Development
Compaq Computer Corporation
jg@pa.dec.com
Received on Thu Aug 10 09:58:08 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:40 EDT