update keyboard and A04/devterm-a04-gearbox

This commit is contained in:
cuu
2021-12-29 19:03:50 +08:00
parent ed9ab854c5
commit 3a1edf8b70
2 changed files with 7 additions and 6 deletions

View File

@@ -32,7 +32,8 @@ static const int8_t WHEEL_DENOM = 2;
static int8_t wheelBuffer;
static float rateToVelocityCurve(float input) {
return std::pow(std::abs(input) / 50, 1.4);
//return std::pow(std::abs(input) / 50, 1.4);
return std::abs(input) / 30;
}
template<Axis AXIS, int8_t Direction >