Skip to content

Instantly share code, notes, and snippets.

@10bn
Created October 17, 2021 19:06
Show Gist options
  • Save 10bn/2d3be0c18503526531643d5f00951dfe to your computer and use it in GitHub Desktop.
Save 10bn/2d3be0c18503526531643d5f00951dfe to your computer and use it in GitHub Desktop.
Miryoku PAW3204 Polynominal Acceleration Settings
#if defined(MH_PD_PAW3204)
/* #define MH_PD_ROTATE 270
#define MH_ACCELERATION_POLYNOMIAL_LINEAR 1 / 4
#define MH_ACCELERATION_POLYNOMIAL_EXPONENTIAL 1 / 50
#define MH_PD_LOW_NUMERATOR 1
#define MH_PD_LOW_DENOMINATOR
#define MH_PD_BUTTON_DEAD 4
*/
#define MH_PD_ROTATE 180
#define MH_ACCELERATION_POLYNOMIAL_LINEAR 0.2
#define MH_ACCELERATION_POLYNOMIAL_EXPONENTIAL 1 / 150
#define MH_ACCELERATION_POLYNOMIAL_EXPONENT 4
#define MH_ACCELERATION_POLYNOMIAL_AVERAGING 3 // 2
#define MH_PD_LOW_NUMERATOR 1
#define MH_PD_LOW_DENOMINATOR 20
#define MH_PD_BUTTON_DEAD 10
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment