mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 16:55:46 +00:00
input_common: Add property to invert an axis button
This commit is contained in:
parent
94c16132ba
commit
53ec77c62c
6 changed files with 15 additions and 3 deletions
|
@ -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{};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue