[Mono-dev] Looking for library to access HID/USB-Joystick from Mono

James Bellinger james at illusorystudios.com
Sat Jul 28 23:19:45 UTC 2012


Actually no, on Linux it uses hidraw only right now.

I was looking into doing a libusb implementation, since some versions of 
Debian do not
have a new enough kernel for hidraw. But, I haven't gotten around to it 
yet. There are P/Invoke
signatures for libusb in that code, just not a HID implementation on top.

James

On 7/28/2012 12:23 PM, mabra at manfbraun.de wrote:
> Hello !
>
> Ok, really nice; I'll give it a try. Do you
> base on libusb ??
>
> Thanks a lot!
>
> ++mabra
>
> [Hmm, my original question was not here ... but your answer ...]
>
>
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of James
> Bellinger
> Sent: Saturday, July 28, 2012 2:56 PM
> To: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] Looking for library to access HID/USB-Joystick from
> Mono
>
> If you are OK with raw HID data, I wrote a library available at
>
> http://www.zer7.com/software.php?page=hidsharp
>
> The Windows support has worked well in my usage for many years.
> I added MacOS and Linux support last month, though hadn't put the update
> online before.
> The Linux support uses hidraw from kernels 2.6.36 and up.
>
> James
>
> On 7/28/2012 6:09 AM, mabra at manfbraun.de wrote:
>> Hi !
>>
>> I am coming from windows and the mass of usb related libs in my Debian
>> just confuses me a lot ...
>> Any hints, for which lib a managed library exists ??
>>
>> Thanks a lot
>> ++mabra


More information about the Mono-devel-list mailing list