mabra | 28 Jul 2012 12:09
Picon
Gravatar

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

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
James Bellinger | 28 Jul 2012 14:55
Favicon

Re: 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
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list <at> lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
mabra | 28 Jul 2012 18:23
Picon
Gravatar

Re: Looking for library to access HID/USB-Joystick from Mono

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
(Continue reading)

James Bellinger | 29 Jul 2012 01:19
Favicon

Re: Looking for library to access HID/USB-Joystick from Mono

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
(Continue reading)


Gmane