On Fri Mar  1 06:21:01 EST 2013, [email protected] wrote:
> The "Home" key produces rune "7" on certain USB keyboard. The fix is:
> 
> /n/sources/plan9/sys/src/cmd/usb/kb/kb.c:473,479 - 
> /sys/src/cmd/usb/kb/kb.c:473,479
>   }
>   
>   
> - #define hasesc1(sc) (((sc) > 0x47) || ((sc) == 0x38))
> + #define hasesc1(sc) (((sc) >= 0x47) || ((sc) == 0x38))
>   
>   static void
>   putmod(KDev *f, uchar mods, uchar omods, uchar mask, uchar esc, uchar sc)

thanks.  that one had been bugging me.  looks like it works here.

- erik

Reply via email to