Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jonathanstowe/device-usb
- Owner: jonathanstowe
- License: artistic-2.0
- Created: 2016-05-20T19:16:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-07T08:13:29.000Z (almost 4 years ago)
- Last Synced: 2023-04-22T17:06:59.568Z (almost 2 years ago)
- Topics: device, library, raku, usb
- Language: Raku
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 -