click method
Implementation
@override
Future<void> click(
double x,
double y,
String button,
int count, [
List<String>? modifiers,
]) async {
await moveMouse(x, y);
if (modifiers != null && modifiers.isNotEmpty) {
// Press modifiers, click, release modifiers
for (final m in modifiers) {
_logDebug('modifier press: $m');
}
_logDebug('click: $button x$count at ($x, $y)');
for (final m in modifiers.reversed) {
_logDebug('modifier release: $m');
}
} else {
_logDebug('click: $button x$count at ($x, $y)');
}
}