mirror of
https://git.citron-emu.org/citron/emulator
synced 2026-01-09 11:14:33 +00:00
input_common: Add property to invert an axis button
This commit is contained in:
@@ -111,6 +111,8 @@ struct AnalogProperties {
|
||||
float offset{};
|
||||
// Invert direction of the sensor data
|
||||
bool inverted{};
|
||||
// Invert the state if it's converted to a button
|
||||
bool inverted_button{};
|
||||
// Press once to activate, press again to release
|
||||
bool toggle{};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user