Added path to ps5 contoller to game controller battery script.
This commit is contained in:
parent
f2ab61b389
commit
3769428fdf
@ -19,7 +19,7 @@
|
||||
batteryName=""
|
||||
|
||||
if [[ "$batteryName" == "" ]]; then
|
||||
batteryName="$(find /sys/class/power_supply -name 'sony_controller_battery_*' | cut -d/ -f5)"
|
||||
batteryName="$(find /sys/class/power_supply -name 'sony_controller_battery_*' -or -name 'ps-controller-battery-*' | cut -d/ -f5)"
|
||||
fi
|
||||
|
||||
# If there's no file, we don't check it.
|
||||
|
Loading…
Reference in New Issue
Block a user