From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from duke.felloff.net ([216.126.196.34]) by ur; Wed Sep 28 10:20:47 EDT 2016 Message-ID: Date: Wed, 28 Sep 2016 16:20:41 +0200 From: cinap_lenrek@felloff.net To: 9front@9front.org Subject: Re: [9front] Middle button on usb mice In-Reply-To: <20160928021342.GA2003@speakerbox> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: asynchronous service component cloud information-scale database in fact, you might try this (untested): diff -r 38db1b2cd29e sys/src/cmd/nusb/kb/kb.c --- a/sys/src/cmd/nusb/kb/kb.c Thu Sep 22 11:04:43 2016 +0200 +++ b/sys/src/cmd/nusb/kb/kb.c Wed Sep 28 16:20:13 2016 +0200 @@ -234,8 +234,7 @@ for(i=l[UsagMin]; i<=l[UsagMax] && l[UsgCnt] < Nu; i++) l[Nl + l[UsgCnt]++] = i; for(i=0; i