mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
dualsense: implement lightbar pulse (low battery)
This commit is contained in:
parent
06d2c5357b
commit
dbb03ae2d7
2 changed files with 44 additions and 5 deletions
|
@ -22,6 +22,11 @@ public:
|
|||
bool init_lightbar{true};
|
||||
bool update_lightbar{true};
|
||||
bool update_player_leds{true};
|
||||
|
||||
// Controls for lightbar pulse. This seems somewhat hacky for now, as I haven't found out a nicer way.
|
||||
bool lightbar_on{false};
|
||||
bool lightbar_on_old{false};
|
||||
steady_clock::time_point last_lightbar_time;
|
||||
};
|
||||
|
||||
class dualsense_pad_handler final : public hid_pad_handler<DualSenseDevice>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue