Skip to content

A lightweight Java/Win32 utility that replaces Windows system pointers with a gigantic, customizable cursor overlay. Features global mouse tracking, auto-trim technology, and system-wide pointer hiding.

License

Notifications You must be signed in to change notification settings

rfsyhmmm/Absurd-Mouse-Java-Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖱️ Absurd Mouse

Java Version Platform License


Absurd Mouse

Absurd Mouse is a lightweight Windows utility built in Java that replaces your standard system pointers with a gigantic, customizable cursor. Utilizing the Win32 API via JNA, this tool provides a seamless, click-through overlay that tracks your mouse across the entire operating system.


📌 Version

Latest Release: v1.0.0


📺 Demos

Dynamic Scaling

Easily adjust the cursor size from a standard pointer to an absurdly large 1000px icon.

Scale Demo

Custom Image Support

Load any .png with a transparent background to use as your cursor. Includes an Adjustable Offset feature to ensure your "hotspot" stays perfectly aligned with the native click point.

Image Custom Demo


🚀 Key Features

  • Ultimate Pointer Hiding: Globally hides all Windows cursor states, including the standard arrow, text I-beam, hand pointers, and loading icons.
  • Precision Tracking: Implements high-performance global mouse hooks using JNativeHook for 1:1 movement accuracy.
  • Auto-Trim Technology: Scans and crops transparent edges of custom images using alpha thresholding to maintain perfect cursor alignment.
  • Manual Calibration: Includes X and Y offset sliders to fine-tune the "hotspot" for complex custom images.
  • Safety First: Built-in JVM shutdown hooks and an emergency "Restore" button ensure your original Windows pointers are always recovered.
  • Click-Through Overlay: The cursor window uses WS_EX_TRANSPARENT styles, allowing you to click through the giant cursor and interact with windows behind it.

📂 Project Structure

  • Main.java: The configuration UI and controller for Win32 API interactions (SetSystemCursor, CreateCursor).
  • CursorOverlay.java: The rendering engine responsible for the transparent JWindow and image processing.
  • GlobalMouse.java: Handles native system hooks and configures the overlay for click-through behavior.

⚠️ Important Note

This application manipulates system-wide pointers. If the application crashes, your cursors might remain hidden. Use the "Restore Original Pointers" button or restart your computer to reset them to the default Windows theme.


Version: 1.0.0
License: MIT
Author: rfsyhmmm

About

A lightweight Java/Win32 utility that replaces Windows system pointers with a gigantic, customizable cursor overlay. Features global mouse tracking, auto-trim technology, and system-wide pointer hiding.

Topics

Resources

License

Stars

Watchers

Forks

Languages