input_common: Map sticks correctly when mapped sideways
This commit is contained in:
parent
82ac66f8a4
commit
ee532e5c01
10 changed files with 127 additions and 0 deletions
|
@ -119,6 +119,9 @@ public:
|
|||
/// Returns true if device is a controller.
|
||||
[[nodiscard]] bool IsController(const Common::ParamPackage& params) const;
|
||||
|
||||
/// Returns true if axis of a stick aren't mapped in the correct direction
|
||||
[[nodiscard]] bool IsStickInverted(const Common::ParamPackage& device) const;
|
||||
|
||||
/// Reloads the input devices.
|
||||
void ReloadInputDevices();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue