dartusbhid 0.1.4
dartusbhid: ^0.1.4 copied to clipboard
A dart wrapper for libusbhid, to interface with USB human input devices. Supports device properties like product and vendorID and the ability to read and write reports.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dartusbhid
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dartusbhid: ^0.1.4
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dartusbhid/dartusbhid.dart';