Rust project to log my mouse battery directly into windows system tray and windows notification system for low battery notifications.
Rust project to log my mouse battery directly into windows system tray and windows notification system for low battery notifications.
It now supports when the mouse is sleeping and it is now integrated with the windows notification system to alert the user also when the battery drop below 20% it starts notifying at 10%, 5%, and when near shutdown.
Log in to leave a comment
I finally have a working dynamic icon ! This was so much work just to transform the SVGs from https://github.com/microsoft/fluentui-system-icons to multi-res .ico files. I had to use inkscape CLI to automate everything with a very complicated powershell file (thanks IA :) ) but I am very happy with the result
Log in to leave a comment
The tray app is now operational and displays the battery status in the tooltip. I exported the Fluent icons for the battery indicator from the Microsoft repository, and in the next devlog, I will ensure that the status bar icon changes dynamically based on the battery level and mouse status (normal, inactive, and charging).
WIP
Log in to leave a comment
First devlog!
So far, I’ve finished the part that connects the mouse with hidapi. I reverse-engineered the Scyrox web configurator by unminifying their main js file and transposed the battery percentage calculation logic into Rust using smoothed voltage interpolation. It handles the mouse’s sleep state and issues alerts when it is asleep, charging, or below 20%. What I have left to do now is call the Windows notification system to display them before moving on to integration into the windows’s system tray.
Log in to leave a comment