Bug in Opie (or Qt?)

From: Joe Chott <verxion_at_yahoo.com>
Date: Wed, 22 May 2002 18:18:36 -0700 (PDT)

I finished my Compaq Microkeyboard driver. It is able to
produce every single key that a normal 101 key keyboard
produces.

Problem is, Opiehas a bug in it that I just discovered.

My driver is trying to send SKEY_RIGHTBRACE to Opie. Opie seems
to be transforming it into an ESC char from what I can tell.
The reason I say this is that if I launch vi, and press the key
that my driver is emitting keycode 27 with, vi treats it exactly
as though I had pressed ESC.

I worked a bit with Gonz, he compiled loadkeys for me, which
apparently ignores Opie and simply reports the raw keys it sees
being pressed. From what I can see in loadkeys, my right
bracket key is emitting keycode 27, which according to
include/linux/h3600_keyboard.h is SKEY_RIGHTBRACE.

So I think my driver is working correctly, but Opie is doing
something REALLY weird when it sees a right bracket.

Can someone with a Zaurus or Stowaway try typing a "]" in vi and
see what it does? Does it treat it as an escape char, or does
it type a "]"?

Thanks,

-Joe Chott

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
Received on Thu May 23 2002 - 01:18:38 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:30:55 EDT