cvs commit: src/lib/libusbhid libusbhid.h parse.c usage.c

Matthew N. Dodd mdodd at FreeBSD.ORG
Sun Apr 6 17:54:52 PDT 2003


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 at jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |


More information about the cvs-all mailing list