ds3: add led battery indicators (Linux only atm)

needs testing. maybe doesn't work
This commit is contained in:
Megamouse 2021-02-28 04:50:23 +01:00
parent 22b8cfd0ba
commit c2467b7b38
9 changed files with 137 additions and 37 deletions

View file

@ -81,6 +81,7 @@ public:
~ds3_pad_handler();
void SetPadData(const std::string& padId, u32 largeMotor, u32 smallMotor, s32 r, s32 g, s32 b, bool battery_led, u32 battery_led_brightness) override;
u32 get_battery_level(const std::string& padId) override;
void init_config(pad_config* cfg, const std::string& name) override;
private: