On Wed, 22 May 2002 18:48, Frédéric Charrier wrote:
> Hello
>
> I have two mice : a PS/2 and a USB under Linux. Currently, only the
> PS/2 is working as a mouse (I use it to work in KDE).
>
> I would like to make a program that uses USB transfers to show the
> state of the 2 buttons of the USB mouse.
>
> Where can I find an example of a USB program ? (written in C for
> instance)
This is underdefined. Do you want to use the mouse as a mouse, or are you 
thinking of some other application?
Do you want to use input layer, or USB HID directly? If input, get the evtest 
program from the http://linuxconsole.sf.net CVS.

Brad

-- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to