Hello!
I made a change that allowed to set the deadzone at the center of the axis, instead of at the 0% mark.
The PS3 controller, for example, sends an unsigned value, so the deadzone only activates on the bottom of the range.
In toml, the config would be:
ABS_X = { type = "cc", cc = 0 , deadzone_at_center = true }
Or omit it to keep the current behaviour, to not break existing configs
Also, in monitor.go it didn't monitor the file if the suffix was "toml" 👀
Hello! I made a change that allowed to set the deadzone at the center of the axis, instead of at the 0% mark.
The PS3 controller, for example, sends an unsigned value, so the deadzone only activates on the bottom of the range. In toml, the config would be: ABS_X = { type = "cc", cc = 0 , deadzone_at_center = true } Or omit it to keep the current behaviour, to not break existing configs
Also, in monitor.go it didn't monitor the file if the suffix was "toml" 👀
Hope this helps!