Add Deadzones for evdev gamepads (#3519)

This commit is contained in:
toccata10 2017-10-05 03:59:35 +02:00 committed by Ivan
parent cf83b796e1
commit 0c5cb4824b
2 changed files with 27 additions and 3 deletions

View file

@ -46,6 +46,7 @@ struct evdev_joystick_config final : cfg::node
cfg::_bool axistrigger{this, "Z axis triggers", true};
cfg::_bool squirclejoysticks{this, "Squircle Joysticks", true};
cfg::int32 squirclefactor{this, "Squircle Factor", 5000};
cfg::int32 deadzone{this, "Deadzone", 10};
bool load()
{