From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from duke.felloff.net ([216.126.196.34]) by ur; Wed Jun 29 03:13:56 EDT 2016 Message-ID: Date: Wed, 29 Jun 2016 09:13:48 +0200 From: cinap_lenrek@felloff.net To: 9front@9front.org Subject: Re: [9front] Hardware woes In-Reply-To: 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: DOM TOR over JSON firewall interface ok, this is useless. what you want is to log the c parameter only which is the byte that was read. so just print("%.2ux", c); should do. then dont send me screenshots, but try to think about what you see, because i have no information what you did to the mouse to identify what the bytes are. you should determine the packet size first... like hold mouse steady, and then toggle the buttons, and see how many bytes are printed... once you have that you can try identifying where the bits are for the buttons... there will not be a wireless driver soon, so plug the laptop on the ethernet or change the card. -- cinap