A package for managing Friendly Fire peripherals (gear).
- Fully used by Gear Tuner app
- Partially used by Friendly Fire app
- Can be used publicly to create custom applications that interact with Friendly Fire peripherals
In your pubspec.yaml
:
dependencies:
friendly_fire_peripherals:
git:
url: https://github.com/friendlyfireesports/friendly_fire_peripherals.git
Then in your Dart code:
import 'package:friendly_fire_peripherals/friendly_fire_peripherals.dart';
final libPath = 'path/to/periph-cli-dylib';
final manager = PeripheralsManager(dynamicLibraryPath: libPath);
final peripherals = manager.getPeripherals();
print(peripherals);