Subject: Re: usb keyboard update
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: Tsubai Masanari <tsubai@iri.co.jp>
List: port-macppc
Date: 05/14/1999 17:35:29
>Unfortunatly the "must press shift first" bug is still there. I haven't
>tryed Tsubai's patch yet.
wskbd tries updating LEDs just after first key press. This request
seems to make bad interaction with previous (keypress?) event.
This patch also works:
*** wskbd.c~ Fri May 14 17:33:22 1999
--- wskbd.c Fri May 14 17:33:42 1999
***************
*** 305,311 ****
--- 305,315 ----
sc->sc_ready = 0; /* sanity */
sc->sc_repeating = 0;
sc->sc_translating = 1;
+ #if 0
sc->sc_ledstate = -1; /* force update */
+ #else
+ sc->sc_ledstate = 0;
+ #endif
if (wskbd_load_keymap(sc->id->t_keymap,
&sc->sc_map, &sc->sc_maplen) != 0)