staldates / av-control

AV control system for St Aldates, using AVX as a base. (Formerly the UI side of the aldatesx project.)
1 stars 1 forks source link

Add joystick control preferences #33

Closed jamesremuscat closed 6 years ago

jamesremuscat commented 6 years ago

This PR adds persistent preferences for joystick operation, namely:

Sensitivity adjustment is achieved by defining a VISCA speed value for a point halfway along the joystick axis. Other values are then linearly interpolated in the ranges from zero to this point, or from this point to the maximum values.

The sensitivity is expressed as a percentage, where 0.5 will give a completely linear response. In the UI this is displayed as an integer between 1 and 10 inclusive.

These preferences are set on the "Advanced" screen.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.6%) to 86.906% when pulling df2327e846f4d130dde378b5953c0594e71a1e74 on feature/joystick-control-preferences into bda93d331549b7c6403f39103cd3190cc1d0b177 on develop.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.6%) to 86.906% when pulling 9b200e252ad0aeed25ab7a1092f21e41adc7f385 on feature/joystick-control-preferences into bda93d331549b7c6403f39103cd3190cc1d0b177 on develop.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.06%) to 87.551% when pulling b17d41b42a29d6188577f23e22cb6c209977efdd on feature/joystick-control-preferences into bda93d331549b7c6403f39103cd3190cc1d0b177 on develop.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.01%) to 87.505% when pulling 36e3041cb2a833e55bf1715352b2ca140236aa73 on feature/joystick-control-preferences into bda93d331549b7c6403f39103cd3190cc1d0b177 on develop.

jamesremuscat commented 6 years ago

@rjmunro Are you happy for this to now be merged? (Thanks for the review btw.)

jamesremuscat commented 6 years ago

TIL. Thanks :)