mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
DS3: fix battery_level aquisition
This commit is contained in:
parent
805d52987f
commit
2dc798d539
2 changed files with 16 additions and 16 deletions
|
|
@ -575,8 +575,8 @@ void dualsense_pad_handler::get_extended_info(const std::shared_ptr<PadDevice>&
|
|||
|
||||
auto buf = dualsense_device->padData;
|
||||
|
||||
//pad->m_battery_level = dualsense_device->batteryLevel;
|
||||
//pad->m_cable_state = dualsense_device->cableState;
|
||||
pad->m_battery_level = dualsense_device->battery_level;
|
||||
pad->m_cable_state = dualsense_device->cable_state;
|
||||
|
||||
// these values come already calibrated, all we need to do is convert to ds3 range
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue