input_common: Map sticks correctly when mapped sideways

This commit is contained in:
Narr the Reg 2022-03-04 11:47:13 -06:00
parent c9ffc287bf
commit f27e097244
10 changed files with 127 additions and 0 deletions

View file

@ -157,6 +157,11 @@ public:
return 0;
}
/// Returns true if axis of a stick aren't mapped in the correct direction
virtual bool IsStickInverted([[maybe_unused]] const Common::ParamPackage& params) {
return false;
}
void PreSetController(const PadIdentifier& identifier);
void PreSetButton(const PadIdentifier& identifier, int button);
void PreSetHatButton(const PadIdentifier& identifier, int button);