Date: Mon, 18 Aug 2008 16:48:53 +0000 (UTC) From: Kai Wang <kaiw@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb hid.c Message-ID: <200808181648.m7IGmtjM081811@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kaiw 2008-08-18 16:48:53 UTC FreeBSD src repository Modified files: sys/dev/usb hid.c Log: SVN rev 181841 on 2008-08-18 16:48:53Z by kaiw In the hid parser, if a INPUT/OUTPUT/FEATURE item is skipped, its corresponding USAGE should be skipped as well. For example, below is a report desc fragment of some mouse: COLLECTION ... USAGE TWHEEL FEATURE ... ... USAGE WHEEL INPUT ... ... END COLLECTION "USAGE TWHEEL" should be consumed after the FEATURE item is skipped, otherwise, the INPUT item will be assigned to "USAGE TWHEEL" later, other than "USAGE WHEEL". Tested by: Grzegorz Blach PR: usb/125941 Revision Changes Path 1.30 +12 -3 src/sys/dev/usb/hid.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808181648.m7IGmtjM081811>