Commit Graph
33 Commits
Author SHA1 Message Date
Joby 4f71789710 Clean up debug logging spam
- Remove ~101 useless debug print statements from production code
- Remove verbose resource debugging and repetitive status messages
- Significantly reduce console noise while maintaining error visibility
2025-05-30 22:59:25 -05:00
Joby a9976cbbe5 Fix unsafe thread-safety docs for cursor handles 2025-05-30 22:38:50 -05:00
Joby bba65f2f97 refactor: eliminate code duplication in cursor operations and cleanup 2025-05-30 22:29:24 -05:00
Joby c1b8160f4a refactor: eliminate code duplication in cursor operations and cleanup
- Extract cursor application logic into apply_cursor_by_index() helper
- Extract cleanup logic into perform_app_cleanup() helper
- Update select_cursor(), next_cursor(), and system tray handlers to use helpers
- Reduce ~55 lines of duplicated code while maintaining functionality
- Mark step 1 of code cleanup TODO as completed
2025-05-30 22:24:33 -05:00
Joby 16fc8949b3 Fixed window dragging for main menu 2025-05-30 21:20:33 -05:00
jcweaver997 b31aefe896 fix steam integration 2025-05-30 19:28:34 -05:00
Joby f60f058cf9 Merge frontend-integration into master, making it the new standard 2025-05-17 21:11:47 -05:00
Joby 9f733ed39b Integrate Tauri frontend with categorization system and Steam integration 2025-05-17 21:07:31 -05:00
Joby 0133b61944 updated readme with run directions 2025-05-17 17:25:50 -05:00
Hemeleh 20592954f7 tauri integration 2025-05-16 17:44:04 +02:00
Hemeleh 06b2f0ffaf tauri integration 2025-05-16 17:38:33 +02:00
Joby 2e71cd8b9e Updated README 2025-05-11 18:52:52 -05:00
Joby a92ef1e07c Fix cursor swapping issues and minimize cursor flashing 2025-05-11 18:48:04 -05:00
Joby b3d85106a8 Implement cursor asset caching for improved performance
Key improvements:
1. Add image caching to CursorInfo struct to avoid repeated disk reads and decoding
2. Implement Windows cursor handle caching to minimize GDI resource allocation
3. Update all code paths to use cached resources for better performance
4. Remove deprecated/unused functions for cleaner codebase

This change significantly reduces CPU usage and improves cursor switching performance.
2025-05-11 18:37:23 -05:00
Joby 34b0d700a6 Replace busy-wait hotkey listener with efficient event-driven approach 2025-05-11 18:21:50 -05:00
Joby 0e6841bd8a Clean up dead code and fix warnings while preserving Steam drop functionality and cross-platform skeleton code 2025-05-11 18:11:58 -05:00
Joby 9f6f3442dc unclean implimentation of windows cursor set as image 2025-05-10 23:42:25 -05:00
Joby a8d8d2ea0b Fixed close hotkey not working so it works now 2025-05-09 22:10:03 -05:00
Joby 49226cf5c5 Reorganize codebase into a more modular structure 2025-05-09 21:47:38 -05:00
Joby f464052bda Remove old files that have been moved to modular structure 2025-05-09 21:37:29 -05:00
Joby cf1c90856f Reorganize codebase into modular structure 2025-05-09 21:37:15 -05:00
Joby f4c83e31c0 on event implementation, known bug is that cursor dies when task manager is opened may fix tomorrow I've run out of time and energy today 2025-05-06 19:17:51 -05:00
Joby 5583f6a517 Fix thread safety issues with Windows handles and LoadCursorW type mismatches 2025-05-05 22:01:01 -05:00
Joby 83288b8791 Clean up unused code: Remove unused imports, static variables, functions, and fields 2025-05-05 20:08:08 -05:00
Joby 852ee64932 Remove batch file cursor restoration code and simplify cursor reset logic 2025-05-05 19:56:13 -05:00
Joby 1d4ef5d5f0 Optimize cursor handling: hide system cursor once at startup instead of on every swap 2025-05-05 19:39:13 -05:00
Joby 4291c8106b Fix cursor z-order issue by continuously refreshing HWND_TOPMOST status 2025-05-05 19:30:21 -05:00
Joby 18283a7829 Replace pixel-push render loop with alpha-blended HBITMAP
- Implemented UpdateLayeredWindow for efficient cursor rendering
- Created HBITMAP once per cursor instead of recreating every frame
- Used premultiplied alpha for better performance
- Added proper resource cleanup
- Reduced CPU usage from one hot core to virtually zero
- Maintained low latency (≤1ms) for cursor updates
- Temporarily increased polling rate for smoother cursor movement (will be replaced with event-based updates)
2025-05-05 19:10:21 -05:00
Joby 80d091eb71 Merged system tray functionality with latest Steam integration 2025-05-04 21:26:36 -05:00
jcweaver997 1305481a35 added drop item function 2025-05-04 19:18:55 -05:00
jcweaver997 63525b28ea added steam init 2025-05-04 18:46:00 -05:00
Joby 41daa9b0d3 this definitely needed to be over 1k lines of code for our initial push 2025-05-04 00:34:24 -05:00
Joby d7af2d8aef Initial commit for Cursor Rush 2025-05-03 21:35:57 -05:00