An open API service indexing awesome lists of open source software.

https://github.com/heshanthenura/mousewheelshortcut

Mouse Wheel Shortcut is a simple prototype application that demonstrates a basic mouse wheel shortcut functionality with JavaFX and JNativeHook. The application allows you to click the middle mouse button on an arc shape and perform certain actions.
https://github.com/heshanthenura/mousewheelshortcut

gui java javafx mouse mouse-events mouse-tracking shortcut ui

Last synced: 3 months ago
JSON representation

Mouse Wheel Shortcut is a simple prototype application that demonstrates a basic mouse wheel shortcut functionality with JavaFX and JNativeHook. The application allows you to click the middle mouse button on an arc shape and perform certain actions.

Awesome Lists containing this project

README

          

# Mouse Wheel Shortcut - Prototype

Mouse Wheel Shortcut is a simple prototype application that demonstrates a basic mouse wheel shortcut functionality with JavaFX and JNativeHook. The application allows you to take a screenshot by following these steps:

[Demo Video](https://user-images.githubusercontent.com/75155192/258189433-17bc23e3-e4cd-447f-90a1-33f5092d8911.mp4)

#### 1. Press the middle mouse button.


Mouse Wheel Shortcut

#### 2. Move the mouse to the arc shape on the screen.
#### 3. Release the middle mouse button when the arc turns red to trigger the screenshot capture.


Mouse Wheel Shortcut

#### 4. The screenshot will be saved in the "Pictures" folder.



## About

This prototype was developed as a showcase of my skills in Java, JavaFX, and JNativeHook. It demonstrates how to capture mouse events and manipulate JavaFX UI components to create a simple user interaction.

Please note that this is just a prototype, and it serves as a foundation for future development with additional features and improvements.

## Features

- Click the middle mouse button and move the mouse to the arc shape to take a screenshot.
- The arc shape will turn red when the mouse is inside the upper half and at a distance greater than 5 pixels.

## Future Plans

In the future, I plan to enhance this prototype application by adding more customizable options and features. Some of the potential improvements include:

- Allowing users to configure their own shortcuts and actions.
- Enhancing the user interface for a more polished look.
- Adding support for capturing custom key combinations.
- Saving the user's preferences and settings.
- Integrating with other external APIs or services.

## Requirements

- Java (JDK) 8 or later
- JavaFX
- JNativeHook

## How to Use

1. Clone this repository to your local machine.
2. Ensure you have the necessary requirements installed.
3. Build and run the application.
4. Follow the steps mentioned above to take a screenshot.

## Contributing

Feel free to fork this repository and make your own improvements or add features. If you have any suggestions or find any issues, please open an issue or submit a pull request.

## License

This project is licensed under the [MIT License](LICENSE).

---

**Disclaimer:** This is just a prototype, and it may have some limitations and room for improvement. The application is meant to showcase my skills and serve as a starting point for further development.

Feel free to explore the code and play around with the application. I welcome any feedback, suggestions, or contributions!

Thank you for checking out this prototype! 😊