GamepadWire constructor

const GamepadWire({
  1. required int kind,
  2. required int deviceId,
  3. int buttonMask = 0,
  4. List<double> buttonValues = const [],
  5. List<double> axes = const [],
  6. int mapping = 0,
  7. int changeKind = 0,
  8. int changeIndex = 0,
  9. double changeValue = 0,
})

Implementation

const GamepadWire({
  required this.kind,
  required this.deviceId,
  this.buttonMask = 0,
  this.buttonValues = const [],
  this.axes = const [],
  this.mapping = 0,
  this.changeKind = 0,
  this.changeIndex = 0,
  this.changeValue = 0,
});