Subject: CVS commit: src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Jared D. McNeill <jmcneill@netbsd.org>
List: source-changes
Date: 01/05/2007 17:16:22
Module Name:	src
Committed By:	jmcneill
Date:		Fri Jan  5 17:16:22 UTC 2007

Modified Files:
	src/sys/dev/usb: files.usb
Added Files:
	src/sys/dev/usb: xboxcontroller.c

Log Message:
Add device driver for Microsoft Xbox controller. Exposes itself as a
wsmouse device for now; easy enough to make it a joystick driver in the
future.

Mappings:
 Left analog stick: Mouse movement
 Right analog stick: Scroll wheel (4 directions)
 A button: Left click
 B button: Right click
 X button: Middle click
 Y button: injected to wsmouse as a fourth mouse button click


To generate a diff of this commit:
cvs rdiff -r1.72 -r1.73 src/sys/dev/usb/files.usb
cvs rdiff -r0 -r1.1 src/sys/dev/usb/xboxcontroller.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.