Originally posted by theriddick
View Post
Announcement
Collapse
No announcement yet.
Sony Publishes An Official Linux Driver For PlayStation 5 DualSense Controllers
Collapse
X
-
-
Originally posted by dlq84 View PostI've just patched my 5.10.2 kernel and it works! I wonder why they add 5 to the battery percentage up to 100. Interesting design choice...
Code:battery_capacity = battery_data == 10 ? 100 : battery_data * 10 + 5;
- Likes 3
Comment
-
Originally posted by Thunderbird View Post
I'm the author of the driver, so I can share that detail at least. The hardware provides only a few levels and '0' in this field means '0-9%' capacity, 1 equals '10-19%' etcetera. In other words the '5' takes the average of a given interval. The PS5 itself uses similar logic. Also think of it in a different way. If the device happens to be connected over Bluetooth and is still communicating clearly its battery level can't be 0%.
Comment
-
I'm sure there just ensuring their controllers can be used to stream PS games. I picked up a Sony TV recently and its got not a bad almost stock Android TV setup. I could see Sony backporting that in on their TVs to allow PS5 controller support. I'm sure that is all this is. Its good for us... still I'm sure its all about having Sony controllers supported on Sony TVs for game streaming.
- Likes 2
Comment
Comment