diff -u joystick-20051019/debian/changelog joystick-20051019/debian/changelog --- joystick-20051019/debian/changelog +++ joystick-20051019/debian/changelog @@ -1,3 +1,10 @@ +joystick (20051019-1ubuntu2) dapper; urgency=low + + * Enabled build and install of evtest + * Added evtest manpage + + -- Emmet Hikory Sun, 28 May 2006 21:07:26 +0900 + joystick (20051019-1ubuntu1) dapper; urgency=low * Depend on inputattach, which is a separate package in Ubuntu. diff -u joystick-20051019/debian/rules joystick-20051019/debian/rules --- joystick-20051019/debian/rules +++ joystick-20051019/debian/rules @@ -8 +8 @@ -DEB_MAKE_BUILD_TARGET = jstest jscal +DEB_MAKE_BUILD_TARGET = evtest jstest jscal diff -u joystick-20051019/debian/joystick.install joystick-20051019/debian/joystick.install --- joystick-20051019/debian/joystick.install +++ joystick-20051019/debian/joystick.install @@ -1 +1 @@ -utils/{jscal,jstest} usr/bin +utils/{jscal,jstest,evtest} usr/bin diff -u joystick-20051019/debian/joystick.manpages joystick-20051019/debian/joystick.manpages --- joystick-20051019/debian/joystick.manpages +++ joystick-20051019/debian/joystick.manpages @@ -1 +1 @@ -debian/{jscal,jstest}.1 +debian/{jscal,jstest,evtest}.1 only in patch2: unchanged: --- joystick-20051019.orig/debian/evtest.1 +++ joystick-20051019/debian/evtest.1 @@ -0,0 +1,34 @@ +.TH EVTEST 1 +.SH NAME +evtest \- joystick test program (event interface) +.SH SYNOPSIS +.B evtest +[--normal] [--old] [--event] [--nonblock] [--select] +.SH DESCRIPTION +.B evtest +can be used to test all the features of the Linux +joystick API, including non-blocking and \fBselect\fP(2) access, as +well as version 0.x compatibility mode. This module works with the kernel +event interface. +.PP +It is also intended to +serve as an example implementation for those who wish to learn +how to write their own joystick using applications. +.SH OPTIONS +.TP +.I \--normal +One-line mode showing immediate status. +.TP +.I \--old +Same as --normal, using 0.x interface. +.TP +.I \--event +Prints events as they come in. +.TP +.I \--nonblock +Same as --event, in nonblocking mode. +.TP +.I \--select +Same as --event, using \fBselect\fP(2) call. +.SH SEE ALSO +\fBjscal\fP(1), \fBjstest\fP(1)\fBinputattach\fP(1), \fBselect\fP(2).