diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-20 11:45:08 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-20 11:45:08 +0200 |
| commit | 59c4a841b7107f6b21bcd1c8f120c8caf1bd2d7c (patch) | |
| tree | 868891e386c2e7597a3364aaed8c752c7a245469 /keybinds/Binds.js | |
| parent | eba0c13ad2f50964b6f88950366cb659c0d8b055 (diff) | |
| download | quickshell-59c4a841b7107f6b21bcd1c8f120c8caf1bd2d7c.tar.gz quickshell-59c4a841b7107f6b21bcd1c8f120c8caf1bd2d7c.zip | |
feat(desktop): read gamepad battery from power_supply
BluetoothRow only read BluetoothDevice.battery, which is BlueZ's
org.bluez.Battery1. A gamepad never publishes that interface: a Sony pad
exposes its charge as a kernel power_supply instead, so the percentage never
appeared.
Read every power_supply whose name ends in a MAC on a 30s timer while
anything is connected, keyed by address. BlueZ still wins when it has a
value.
Diffstat (limited to 'keybinds/Binds.js')
0 files changed, 0 insertions, 0 deletions
