mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00: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
|
|
@ -43,8 +43,8 @@ constexpr std::array<u8, 6> battery_capacity = {0, 1, 25, 50, 75, 100};
|
|||
|
||||
constexpr id_pair SONY_DS3_ID_0 = {0x054C, 0x0268};
|
||||
|
||||
ds3_pad_handler::ds3_pad_handler()
|
||||
: hid_pad_handler(pad_handler::ds3, {SONY_DS3_ID_0})
|
||||
ds3_pad_handler::ds3_pad_handler(bool emulation)
|
||||
: hid_pad_handler(pad_handler::ds3, emulation, {SONY_DS3_ID_0})
|
||||
{
|
||||
button_list =
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue