DEV Community

Cover image for Announcing Bixat Key Mouse: A Cross-Platform Dart Package for Keyboard and Mouse Simulation ๐ŸŽ‰
CHAHBOUN Mohammed
CHAHBOUN Mohammed

Posted on

Announcing Bixat Key Mouse: A Cross-Platform Dart Package for Keyboard and Mouse Simulation ๐ŸŽ‰

Weโ€™re excited to introduce Bixat Key Mouse, a powerful new package that allows developers to simulate keyboard and mouse events across multiple platforms, including Linux, Windows, macOS, and BSD. Whether youโ€™re building applications that require automated interactions or creating testing tools, Bixat Key Mouse has you covered!

๐Ÿš€ Key Features

  • Cross-Platform Compatibility: Works seamlessly on Linux, Windows, macOS, and BSD.
  • Mouse Control: Move the mouse to absolute or relative positions, and simulate mouse button presses and releases.
  • Text Input: Enter text programmatically with ease.
  • Keyboard Simulation: Simulate key presses and releases, including multiple key modifiers.

๐Ÿ“ฆ Easy Installation

Adding Bixat Key Mouse to your Flutter project is simple! Just add the package to your pubspec.yaml:

flutter pub add bixat_key_mouse
Enter fullscreen mode Exit fullscreen mode

Then run:

flutter pub get
Enter fullscreen mode Exit fullscreen mode

๐Ÿ“š Getting Started

To start using Bixat Key Mouse in your Dart code, import the package:

import 'package:bixat_key_mouse/bixat_key_mouse.dart';
Enter fullscreen mode Exit fullscreen mode

Hereโ€™s a quick example showcasing its capabilities:

void main() {
ย  BixatKeyMouse.moveMouseAbs(100, 100);
ย  BixatKeyMouse.pressMouseButton(1);
ย  BixatKeyMouse.enterText('Hello, world!');
ย  BixatKeyMouse.simulateKeyPress(KeyModifier.command);
}
Enter fullscreen mode Exit fullscreen mode

๐Ÿค Join the Community

We welcome contributions! If you have ideas for improvements or want to report issues, feel free to submit a Pull Request. Letโ€™s build a great toolkit together!

๐Ÿ“œ License

Bixat Key Mouse is licensed under the MIT License.

๐ŸŽ‰ Conclusion

We canโ€™t wait to see what you build with Bixat Key Mouse! Whether youโ€™re automating tasks, performing UI tests, or simply experimenting, this package is designed to make your development process smoother and more efficient.

Happy coding! ๐Ÿš€

Top comments (0)