mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-13 10:48: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,
|
little=(888000,) * 2,
|
||||||
use="browsing most websites with long battery life"),
|
use="browsing most websites with long battery life"),
|
||||||
gear(
|
gear(
|
||||||
little=(1080000,) * 3,
|
little=(1080000,) * 2,
|
||||||
use="most 2D games and emulators"),
|
use="most 2D games and emulators"),
|
||||||
gear(
|
gear(
|
||||||
little=(1488000,) * 4,
|
little=(1320000,) * 4,
|
||||||
use="playing videos and 3D games"),
|
use="playing videos and 3D games"),
|
||||||
#gear(
|
gear(
|
||||||
# little=(1800000,) * 4,
|
little=(1488000,) * 4,
|
||||||
# use="max performance, max power (usage)"),
|
use="performance-first tasks"),
|
||||||
]
|
]
|
||||||
|
|
||||||
#GPU_GOV_SIMPLE = "simple_ondemand"
|
#GPU_GOV_SIMPLE = "simple_ondemand"
|
||||||
|
|||||||
@ -32,7 +32,8 @@ static const int8_t WHEEL_DENOM = 2;
|
|||||||
static int8_t wheelBuffer;
|
static int8_t wheelBuffer;
|
||||||
|
|
||||||
static float rateToVelocityCurve(float input) {
|
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 >
|
template<Axis AXIS, int8_t Direction >
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user