mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-12 10:18:49 +01:00
update keyboard and A04/devterm-a04-gearbox
This commit is contained in:
parent
ed9ab854c5
commit
3a1edf8b70
@ -26,14 +26,14 @@ def gears():
|
||||
little=(888000,) * 2,
|
||||
use="browsing most websites with long battery life"),
|
||||
gear(
|
||||
little=(1080000,) * 3,
|
||||
little=(1080000,) * 2,
|
||||
use="most 2D games and emulators"),
|
||||
gear(
|
||||
little=(1488000,) * 4,
|
||||
little=(1320000,) * 4,
|
||||
use="playing videos and 3D games"),
|
||||
#gear(
|
||||
# little=(1800000,) * 4,
|
||||
# use="max performance, max power (usage)"),
|
||||
gear(
|
||||
little=(1488000,) * 4,
|
||||
use="performance-first tasks"),
|
||||
]
|
||||
|
||||
#GPU_GOV_SIMPLE = "simple_ondemand"
|
||||
|
||||
@ -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 >
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user