mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
gui/input: let pad handlers know whether they are part of emulation
Also fix unique_ptr vs shared_ptr nonsense in pad_threads
This commit is contained in:
parent
fc698a4df2
commit
06025cd19d
26 changed files with 74 additions and 129 deletions
|
@ -79,7 +79,7 @@ class dualsense_pad_handler final : public hid_pad_handler<DualSenseDevice>
|
|||
};
|
||||
|
||||
public:
|
||||
dualsense_pad_handler();
|
||||
dualsense_pad_handler(bool emulation);
|
||||
~dualsense_pad_handler();
|
||||
|
||||
void SetPadData(const std::string& padId, u8 player_id, u8 large_motor, u8 small_motor, s32 r, s32 g, s32 b, bool player_led, bool battery_led, u32 battery_led_brightness) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue