From 644766d96501ca82b74d3c23573e1990001448ce Mon Sep 17 00:00:00 2001 From: Florin9doi Date: Sun, 19 Feb 2023 01:49:15 +0200 Subject: [PATCH] USB: Fix Sega Seamic buttons --- pcsx2/USB/usb-pad/usb-seamic.cpp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pcsx2/USB/usb-pad/usb-seamic.cpp b/pcsx2/USB/usb-pad/usb-seamic.cpp index ce8bc9c30f..c686612fc5 100644 --- a/pcsx2/USB/usb-pad/usb-seamic.cpp +++ b/pcsx2/USB/usb-pad/usb-seamic.cpp @@ -366,11 +366,15 @@ namespace usb_pad {"StickUp", "Stick Up", InputBindingInfo::Type::HalfAxis, CID_THROTTLE, GenericInputBinding::LeftStickUp}, {"StickDown", "Stick Down", InputBindingInfo::Type::HalfAxis, CID_BRAKE, GenericInputBinding::LeftStickDown}, {"A", "A", InputBindingInfo::Type::Button, CID_BUTTON0, GenericInputBinding::Cross}, - {"B", "B", InputBindingInfo::Type::Button, CID_BUTTON2, GenericInputBinding::Circle}, - {"X", "X", InputBindingInfo::Type::Button, CID_BUTTON1, GenericInputBinding::Square}, - {"Y", "Y", InputBindingInfo::Type::Button, CID_BUTTON3, GenericInputBinding::Triangle}, - {"Z", "Z", InputBindingInfo::Type::Button, CID_BUTTON4, GenericInputBinding::L1}, - {"C", "C", InputBindingInfo::Type::Button, CID_BUTTON5, GenericInputBinding::R1}, + {"B", "B", InputBindingInfo::Type::Button, CID_BUTTON1, GenericInputBinding::Circle}, + {"C", "C", InputBindingInfo::Type::Button, CID_BUTTON2, GenericInputBinding::R2}, + {"X", "X", InputBindingInfo::Type::Button, CID_BUTTON3, GenericInputBinding::Square}, + {"Y", "Y", InputBindingInfo::Type::Button, CID_BUTTON4, GenericInputBinding::Triangle}, + {"Z", "Z", InputBindingInfo::Type::Button, CID_BUTTON5, GenericInputBinding::L2}, + {"L", "L", InputBindingInfo::Type::Button, CID_BUTTON6, GenericInputBinding::L1}, + {"R", "R", InputBindingInfo::Type::Button, CID_BUTTON7, GenericInputBinding::R1}, + {"Select", "Select", InputBindingInfo::Type::Button, CID_BUTTON8, GenericInputBinding::Select}, + {"Start", "Start", InputBindingInfo::Type::Button, CID_BUTTON9, GenericInputBinding::Start}, {"DPadUp", "D-Pad Up", InputBindingInfo::Type::Button, CID_DPAD_UP, GenericInputBinding::DPadUp}, {"DPadDown", "D-Pad Down", InputBindingInfo::Type::Button, CID_DPAD_DOWN, GenericInputBinding::DPadDown}, {"DPadLeft", "D-Pad Left", InputBindingInfo::Type::Button, CID_DPAD_LEFT, GenericInputBinding::DPadLeft}, @@ -436,7 +440,7 @@ namespace usb_pad bool SeamicDevice::Freeze(USBDevice* dev, StateWrapper& sw) const { - pxFailRel("Not implemented!"); + Console.Warning("Not implemented!"); return true; // SeamicState *s = (SeamicState *)dev; // switch (mode)