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)