finally got it complete: /n/sources/patch/usbkb-map

2013-08-08 19:26 GMT+03:00 Yaroslav <yari...@gmail.com>:
> It gets even weirder: another hack to enable F11/F12.
>
> /n/dump/2013/0808/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) < 0x57) || ((sc) > 0x58)
> || ((sc) == 0x38))
>
>   static void
>   putmod(KDev *f, uchar mods, uchar omods, uchar mask, uchar esc, uchar sc)
>
> 2013/3/1 Yaroslav <yari...@gmail.com>:
>>
>>> thanks.  that one had been bugging me.  looks like it works here.
>>
>>
>> /n/sources/patch/usb-khome
>>
>
> --
> - Yaroslav



-- 
- Yaroslav

Reply via email to