Date: Sun, 6 Apr 2003 20:54:50 -0400 (EDT) From: "Matthew N. Dodd" <mdodd@FreeBSD.ORG> To: src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libusbhid libusbhid.h parse.c usage.c Message-ID: <20030406205313.Q18916@sasami.jurai.net> In-Reply-To: <200304070049.h370nra9002354@repoman.freebsd.org> References: <200304070049.h370nra9002354@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 6 Apr 2003, Matthew N. Dodd wrote: > - Use fmtcheck() in hid_usage_in_page(). This commit fixes this problem: # usbhidctl -f /dev/uhid0 -r ... Input size=1 count=1 page=Button usage=Button_%d 1, logical range 0..1 Input size=1 count=1 page=Button usage=Button_%d 2, logical range 0..1 Input size=1 count=1 page=Button usage=Button_%d 3, logical range 0..1 This is the correct output: Input size=1 count=1 page=Button usage=Button_1, logical range 0..1 Input size=1 count=1 page=Button usage=Button_2, logical range 0..1 Input size=1 count=1 page=Button usage=Button_3, logical range 0..1 -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030406205313.Q18916>