mpg_pendant 0.1.4
mpg_pendant: ^0.1.4 copied to clipboard
Cross-platform USB HID driver for XHC xHB04B-family CNC pendants (LHB04B-4, LHB04B-6, WHB04B-4, WHB04B-6). Decodes button, jog wheel, and selector events; encodes display updates.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mpg_pendantWith Flutter:
$ flutter pub add mpg_pendantThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
mpg_pendant: ^0.1.4Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:mpg_pendant/mpg_pendant.dart';