mirror of
https://github.com/RawAccelOfficial/rawaccel.git
synced 2025-05-11 10:26:58 +02:00
only driver compiles remove accel-base types merge linear + classic move gain cap logic into classic impl, cap is now set in terms of output use cap/limit to determine negation remove weight, add replacement for power mode only remove legacy offset option remove naturalgain mode add legacy mode flag naturalgain -> natural natural -> natural + legacy flag add dpi setting and more accel args + defaults (prep for ips mode) replace output speed cap with input cap
16 lines
323 B
C++
16 lines
323 B
C++
#pragma once
|
|
|
|
#include "rawaccel-settings.h"
|
|
|
|
namespace rawaccel {
|
|
|
|
/// <summary> Struct to hold acceleration implementation which applies no acceleration. </summary>
|
|
struct accel_noaccel {
|
|
|
|
accel_noaccel(const accel_args&) {}
|
|
accel_noaccel() = default;
|
|
|
|
inline double operator()(double) const { return 1; }
|
|
};
|
|
|
|
}
|