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
715 stars 51 forks source link

Hide Icon when there's no controller connected #7

Closed Cupcake911 closed 5 years ago

Cupcake911 commented 5 years ago

Hi! Thanks for the little tool, it is very helpful.

I use my computer nearly 24/7, since I connect to it from everywhere to work via RDP. Obviously I have my controllers turned off when I'm not at home, so the icon shows no controller connected, which is correct.

Would it be possible to add the option of hiding the icon when there's no controller connected though?

Kindest regards.

NiyaShy commented 5 years ago

Hey,

it might be possible, there's just one issue with that: how do you want to interact with it when there is no icon? Also, I'm not really sure if a program that is only visible via a tray icon can disable/hide that icon.

Cupcake911 commented 5 years ago

Can't think of any good solution for that, maybe opening the ".exe" file could enable the icon again for ~2 minutes?

If the program is unresponsive I can still close it via task manager but then again maybe not everyone may know how to use the task manager

davidjirovec commented 5 years ago

How about having more icons? One for the program itself and one for each controller currently connected?

deefeloper commented 5 years ago

I would suggest that there would be osd implemented, kinda like media player does. Like when you press the home button on the controller for 2 seconds it would show an addition to the volume overlay like media player does when you change volume/ open a video

NiyaShy commented 5 years ago

To quickly summarize my stance on your suggestions:

As such, I'll take the liberty to close this issue.