9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Yaroslav <yarikos@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] usb/kb: Home key produces "7"
Date: Fri,  4 Apr 2014 12:26:53 +0300	[thread overview]
Message-ID: <CAG3N4d8iXK275P=KaTshf1QLoHhuYjMtwm7JYKsq_oLE-ebhag@mail.gmail.com> (raw)
In-Reply-To: <CAG3N4d-BqoNOm5b0HsZQpLWWWQjuS=uCFCSU0=EmFBvWDGs2vA@mail.gmail.com>

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

2013-08-08 19:26 GMT+03:00 Yaroslav <yarikos@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 <yarikos@gmail.com>:
>>
>>> thanks.  that one had been bugging me.  looks like it works here.
>>
>>
>> /n/sources/patch/usb-khome
>>
>
> --
> - Yaroslav



--
- Yaroslav



  reply	other threads:[~2014-04-04  9:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-01 11:20 yaroslav
2013-03-01 14:09 ` erik quanstrom
2013-03-01 15:40   ` Yaroslav
2013-08-08 16:26     ` Yaroslav
2014-04-04  9:26       ` Yaroslav [this message]
2014-04-04 12:28         ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG3N4d8iXK275P=KaTshf1QLoHhuYjMtwm7JYKsq_oLE-ebhag@mail.gmail.com' \
    --to=yarikos@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).