Ticket #107 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

Basic USB mice example

Reported by: weavebytes Owned by:
Milestone: Component: libusb-1.0
Keywords: Cc:
Blocked By: Blocks:

Description

Dear all,

I am able to write a basic user space driver for USB mice using libusb.

I have successfully coded and tested it on linux and windows.

I have written python C binding so that python programmers can use it.

I have written JNI extensions so that java programmers can use it.

I will be very happy to contribute to this website.

Or kindly let me place a link to this project on your website.

Thanks you very much....

Change History

comment:1 Changed 3 years ago by stuge

  • Summary changed from How to contribute to libusb to Basic USB mice example

A patch that adds your basic C program as an example program besides the existing ones (dpfp and dpfp_threaded) in the libusb examples/ subdirectory would be most welcome, although it may be worth noting in the program code that libusb is not really recommended for use with HID class devices.

As for linking to your project on the wiki please go ahead! You should now be able to edit the wiki when logged in.

Please note that this ticket is for keeping track of your new example program only. If you would like to ask support questions (webcam or otherwise) then please use the mailing list or IRC channel. Thanks!

comment:2 Changed 2 years ago by lepalom

I think that a basic user space driver for the mice, reading the position and buttons would be a good example. So, please, could you publish it?

comment:3 Changed 2 years ago by xiaofan

Please post your codes to the mailing list and let the people in the list review the codes.

Note: See TracTickets for help on using tickets.