summaryrefslogtreecommitdiffstats
path: root/src/core/hid/input_converter.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-05-06 01:11:53 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2023-05-06 01:18:35 +0200
commitf017335fef95d2cecc0fcda185f0e59cc1945101 (patch)
tree3c119e1e6f51506e039a519b0baf245ae9b41747 /src/core/hid/input_converter.cpp
parentyuzu: Add motion preview to controller input (diff)
downloadyuzu-f017335fef95d2cecc0fcda185f0e59cc1945101.tar
yuzu-f017335fef95d2cecc0fcda185f0e59cc1945101.tar.gz
yuzu-f017335fef95d2cecc0fcda185f0e59cc1945101.tar.bz2
yuzu-f017335fef95d2cecc0fcda185f0e59cc1945101.tar.lz
yuzu-f017335fef95d2cecc0fcda185f0e59cc1945101.tar.xz
yuzu-f017335fef95d2cecc0fcda185f0e59cc1945101.tar.zst
yuzu-f017335fef95d2cecc0fcda185f0e59cc1945101.zip
Diffstat (limited to 'src/core/hid/input_converter.cpp')
-rw-r--r--src/core/hid/input_converter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp
index 7cee39a53..a38e3bb3f 100644
--- a/src/core/hid/input_converter.cpp
+++ b/src/core/hid/input_converter.cpp
@@ -54,6 +54,7 @@ Common::Input::ButtonStatus TransformToButton(const Common::Input::CallbackStatu
case Common::Input::InputType::Analog:
status.value = TransformToTrigger(callback).pressed.value;
status.toggle = callback.analog_status.properties.toggle;
+ status.inverted = callback.analog_status.properties.inverted_button;
break;
case Common::Input::InputType::Trigger:
status.value = TransformToTrigger(callback).pressed.value;