NiyaShy / XB1ControllerBatteryIndicator

A tray application that shows a battery indicator for an Xbox-ish controller and gives a notification when the battery level drops to (almost) empty.
GNU General Public License v2.0
710 stars 53 forks source link

Overlay battery level/ warning feature #46

Open blackhorse088 opened 3 years ago

blackhorse088 commented 3 years ago

Hi First, thanks for the app, it's a life saver.

2nd, I'd like to suggest a feature of having an overlay message appears on screen/games or desktop as well when the battery reaches critical level. Example: Screenshot_1-2 dark-souls-3-screenshot

As alarm may get lost with game sounds, or not preferred by some users. If possible to include the options to: -Message position (Top left - center) -Transparency control (Non - 60%) -Messages interval ( Once - Every 5/10? minutes) Not sure how long will the battery last at critical about 30 minutes? -Design selection (Just like the sound alarm)

Also if this possible, to press once on Xbox Home button to show battery level status for 3 sec in the same message overlay would be nice, although it's not critical.

I'm a graphic designer and I can help making high quality overlay templates in any format needed. Thank you :)

NiyaShy commented 3 years ago

Hey, having an overlay instead of (or in addition to) the current toast notifications might be a way to fix the problem that fullscreen games/applications tend to lead Win10 to not show the toast. We currently only have the optional alarm sound for that.

But I'll be honest with you, since I'm not a full-fledged programmer (this is just a hobby project) the chance for getting this to work is... veeeeery small. If more people are interested in something like this I can read up on if/how this can be implemented, but I can't promise that it will ever work without help from people who know that they're doing 😅

blackhorse088 commented 3 years ago

Oh dang :( I tried looking into the source code to be honest might figure something, but I know more Japanese than coding lol.

The only and the best app for the controller. Frankly, I'm shocked, guess not many PC users using wireless? Oh well. Thank you so much for making the app, if you need any graphical help in the future let me know 😊 I'd be glad to help.

NiyaShy commented 3 years ago

As you may have seen (or not), Friday-The13-rus was kind enough to implement a popup/overlay that comes pretty close to what you suggested. Size, position, display duration and colors can be adjusted (but not the transparency). Example of how it looks: image Additional screenshots are in the pull request #52. It can be triggered by low battery state and also by pressing the xbox button on the controller.

Should be good enough, right? 😃

blackhorse088 commented 3 years ago

That's super awesome! :O I'm checking it right now!

NiyaShy commented 3 years ago

I've just uploaded a beta/preview version so you can try out the new features without using Visual Studio ;) See #55.