Skip to content

Commit

Permalink
USB: Add d-pad controls to RBDrumKitDevice
Browse files Browse the repository at this point in the history
  • Loading branch information
Biendeo authored and stenzek committed May 12, 2024
1 parent 0aea297 commit e3ccb50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pcsx2/USB/usb-pad/usb-pad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,10 @@ namespace usb_pad
{"Orange", TRANSLATE_NOOP("USB", "Orange"), nullptr, InputBindingInfo::Type::Button, CID_BUTTON4, GenericInputBinding::Cross},
{"Select", TRANSLATE_NOOP("USB", "Select"), nullptr, InputBindingInfo::Type::Button, CID_BUTTON8, GenericInputBinding::Select},
{"Start", TRANSLATE_NOOP("USB", "Start"), nullptr, InputBindingInfo::Type::Button, CID_BUTTON9, GenericInputBinding::Start},
{"D-Pad Up", TRANSLATE_NOOP("USB", "D-Pad Up"), nullptr, InputBindingInfo::Type::Button, CID_DPAD_UP, GenericInputBinding::DPadUp},
{"D-Pad Right", TRANSLATE_NOOP("USB", "D-Pad Right"), nullptr, InputBindingInfo::Type::Button, CID_DPAD_RIGHT, GenericInputBinding::DPadRight},
{"D-Pad Down", TRANSLATE_NOOP("USB", "D-Pad Down"), nullptr, InputBindingInfo::Type::Button, CID_DPAD_DOWN, GenericInputBinding::DPadDown},
{"D-Pad Left", TRANSLATE_NOOP("USB", "D-Pad Left"), nullptr, InputBindingInfo::Type::Button, CID_DPAD_LEFT, GenericInputBinding::DPadLeft},
};

return bindings;
Expand Down

0 comments on commit e3ccb50

Please sign in to comment.