mirror of
https://github.com/libretro/Libretro-Supermodel.git
synced 2026-11-09 17:25:52 -10:00
(cherry picked from commit 2bf3715e95, adapted)
The original cabinet duplicates Trigger and Event for the rider's other
hand. Keep the primary pair on the first mouse and take the mirror pair
from the left/right buttons of a second mouse, which frees the first
mouse's X1/X2 buttons for Start and Coin in Star Wars Trilogy.
Adapted on dev:
- The second mouse's buttons are used only once dev has unlocked port 2
as a separate mouse. On X11 and Wayland RetroArch reports the same
pointer on every port, and every left click would also press Trigger 2.
- Start/Coin on X1/X2 are mapped in ApplyGunLayout, only for games with
the analog joystick (Star Wars Trilogy), next to the gun games' own
light-gun Start/Coin mapping.
- The input descriptor labels are left out (per-game descriptors are
not on dev).
Tested: Linux: Star Wars Trilogy with a mouse: X2 inserts a coin, X1
starts, left and right click fire Trigger and Event; gamepad unchanged.