[Pharo-users] [ANN] Libusb binding + HID support for Pharo

Julien julien.delplanque at inria.fr
Thu Oct 12 07:29:48 EDT 2017


A bit late, there is a Libusb [1] binding (using UFFI) and support for the Human Interface Device [2] (that uses the binding but is written in pure Smalltalk) for Pharo.

Everything is on the github repository [3]. « Install »  and « Quick start »  sections give you all you need to start using the project.

One could also have a look at the wiki [4].

It works on Linux but hasn’t been tested on Mac OS nor Windows (it should work since libusb library works on these platforms).

Do not forget to install the 32 bits versions of libusb on your computer.

The purpose of this library is to provide the ability to use USB devices directly from Pharo.

For example, one could get data from a PS3 controller, a mouse, a keyboard, an Arduino device, etc…



PS: I realised this project during an internship in TaMère SCRL company [5]. Thanks to them!

[1]: http://libusb.info <http://libusb.info/>
[2]: https://en.wikipedia.org/wiki/Human_interface_device <https://en.wikipedia.org/wiki/Human_interface_device>
[3]: https://github.com/tamerescrl/libusb-pharo <https://github.com/tamerescrl/libusb-pharo>
[4]: https://github.com/tamerescrl/libusb-pharo/wiki <https://github.com/tamerescrl/libusb-pharo/wiki>
[5]: http://tamere.eu <http://tamere.eu/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20171012/bcaf7088/attachment.html>

More information about the Pharo-users mailing list