23 lines
1 KiB
Diff
23 lines
1 KiB
Diff
diff --git a/src/frontend-common/evdev_input_source.cpp b/src/frontend-common/evdev_input_source.cpp
|
|
index 970e0ca4..480fb0ba 100644
|
|
--- a/src/frontend-common/evdev_input_source.cpp
|
|
+++ b/src/frontend-common/evdev_input_source.cpp
|
|
@@ -328,7 +328,7 @@ std::optional<InputBindingKey> EvdevInputSource::ParseKeyString(const std::strin
|
|
if (abinding == axis.name)
|
|
{
|
|
key.source_subtype = InputSubclass::ControllerAxis;
|
|
- key.negative = (binding[0] == '-');
|
|
+ // key.negative = (binding[0] == '-');
|
|
key.data = axis.id;
|
|
return key;
|
|
}
|
|
@@ -365,7 +365,8 @@ std::string EvdevInputSource::ConvertKeyToString(InputBindingKey key)
|
|
{
|
|
if (static_cast<u32>(axis.id) == key.data)
|
|
{
|
|
- ret = fmt::format("{}/{}{}", cd->uniq, key.negative ? "-" : "+", axis.name);
|
|
+ //ret = fmt::format("{}/{}{}", cd->uniq, key.negative ? "-" : "+", axis.name);
|
|
+ ret = fmt::format("{}/{}{}", cd->uniq, axis.name);
|
|
break;
|
|
}
|
|
}
|