Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonathanstowe/device-usb

Raku access to USB busses and devices
https://github.com/jonathanstowe/device-usb

device library raku usb

Last synced: about 1 month ago
JSON representation

Raku access to USB busses and devices

Awesome Lists containing this project

README

        

# Device-USB

Perl 6 access to USB busses and devices

## Synopsis

```perl6

use Device::USB;

my $usb = Device::USB.new;

for $usb.device-list -> $dev {
my $dd = $dev.device-descriptor;
say sprintf "%04x:%04x (bus %d, device %d)", $dd.idVendor, $dd.idProduct, $dev.bus-number, $dev.address;
}

```

## Description

## Installation

This isn't released to the ecosystem, but as long as you have a working Rakudo installation you should be able to install this with *zef* :

zef install https://github.com/jonathanstowe/Device-USB.git

## Support

## License

This is free software, please see the [LICENCE](LICENCE) in the distribution.

© Jonathan Stowe 2019 -