mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
a9968e9e86
For each player, 2 new options are added: - a reservation type (no reservation, preferred, reserved) - a reserved device name When handling port - player assignments, reserved devices will be assigned to the respective player port. If reservation type is "reserved", no other device can take that port automatically. Reservation config option and matching function lifted from: PatrickStankard https://github.com/libretro/RetroArch/pull/16269 Test joypad driver was extended for more tests. Co-authored-by: Patrick Stankard <me@patrickstankard.com>
42 lines
585 B
Plaintext
42 lines
585 B
Plaintext
[
|
|
{
|
|
"action": 1,
|
|
"param_num": 0,
|
|
"param_str": "(0001:0002) Test joypad device A",
|
|
"frame": 0
|
|
},
|
|
{
|
|
"action": 1,
|
|
"param_num": 1,
|
|
"param_str": "(0003:0004) Test joypad device B"
|
|
},
|
|
{
|
|
"action": 1,
|
|
"param_num": 2,
|
|
"param_str": "(0005:0006) Test joypad device C"
|
|
},
|
|
{
|
|
"action": 2,
|
|
"param_num": 1,
|
|
"frame": 1200
|
|
},
|
|
{
|
|
"action": 2,
|
|
"param_num": 2
|
|
},
|
|
{
|
|
"action": 1,
|
|
"param_num": 1,
|
|
"param_str": "(0005:0006) Test joypad device C"
|
|
},
|
|
{
|
|
"action": 2,
|
|
"param_num": 0
|
|
},
|
|
{
|
|
"action": 1,
|
|
"param_num": 4,
|
|
"param_str": "(0001:0002) Test joypad device A"
|
|
}
|
|
]
|