-
Notifications
You must be signed in to change notification settings - Fork 21
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
Dualshock 3/4 gamepad battery percentage support #7
Comments
Gamepad support has been added and it is ready to be tested. The generic monitor command should be Please test it while having multiple gamepads connected. |
great, I tested here with 2 ds3 controllers its working very well thanks :) |
Well, the two "100%" strings shouldn't be there. My thought is:
|
getting both displaying battery isnt bad, I thought it is good if show in a row, and 4-row column and other info at tooltip. |
Could you check again? I added a space between two battery percentages. |
Sure! here the result, but I disliked it as it was too near the volume icon and too near the gamepad icon so I made a small change. Here the change(removed blank space at end and added at start): here the result: |
to make it better I think it would be nice to add battery icon with % for every gamepad, https://i.imgur.com/6dGaqrL.png example of ideas
Just a idea, to be more simple it could be one icon on top, percentage on bottom, and icon if its charging or not. |
Do you know where I can get stats from dualshock3/4 battery? I want to create a script to show dualshock battery.
With the help of some other devs I discovered how to get battery percentage:
The approach with
upower
, I guess it is compatible with recent linux?An alternative approach:
Just need to do something like a for loop to list all connected controllers and show their respective battery. Can you help doing the interface and the loop to get all connected controllers?
The text was updated successfully, but these errors were encountered: