Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto mini toast just showing the battery percentage when connected for the first time #42

Open
ajaykaps opened this issue Jul 29, 2020 · 4 comments
Labels
Feature request Feedback wanted Something was proposed and it would be great to get some feedback what you think about it!

Comments

@ajaykaps
Copy link

This is a feature request,
When an Xbox controller is connected can the app make a small(5-7) second toast only showing the current battery percentage.

Thanks.

@NiyaShy
Copy link
Owner

NiyaShy commented Jul 29, 2020

Hey,
showing a toast on events other than empty level should work. But for one, percentage isn't possible (the API only gives the rough values you already get), and I don't see that much use in such a feature.

If more people show interest in this I might think about adding it, but if you stay the only one it's not worth the effort for me.

@ajaykaps
Copy link
Author

Thank you for the response, I completely agree with you, it's pointless to code for just a single person.
I did not know that you can't get the exact battery percentage. If requested by many, how about showing a toast like Full/Medium/Low ?

@NiyaShy
Copy link
Owner

NiyaShy commented Jan 9, 2021

It's not exactly what you asked for, but the testing branch now contains a popup/overlay that can get displayed on low battery and/or when you press the xbox button. Looks, position and display duration can be adjusted, an example:
image

Would that be good enough or do you still want it to show up automatically?

@ajaykaps
Copy link
Author

ajaykaps commented Jan 9, 2021

Looks amazing, that's perfect, I think it should popup when the controller is connected, or the battery level changes. Similar to what we would get on an Xbox.

@NiyaShy NiyaShy added the Feedback wanted Something was proposed and it would be great to get some feedback what you think about it! label Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Feedback wanted Something was proposed and it would be great to get some feedback what you think about it!
Projects
None yet
Development

No branches or pull requests

2 participants