[Driver] mk_arcade_joystick_rpi GPIO Driver
#16
Something I didn't consider until now could be to use ADC_OffsetCenter function when Auto center is enable or not.

Basically input_set_abs_params() compute center by max-min.
The only down side is the dead zone, since ADC_OffsetCenter extrapolate the ADC values, the flat parameter may need to be re-think.

Just add a argument to avoid the centering stuff when not need, this could do the trick but directly into the driver.
I will make some test for this and make a pull request to your Git once done (not sure this will be done today).
Reply


Messages In This Thread
RE: [Driver] mk_arcade_joystick_rpi GPIO Driver - by Porcinus - 05-18-2019, 08:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)