mirror of
https://github.com/RawAccelOfficial/rawaccel.git
synced 2025-05-11 18:36:46 +02:00
Within driver, change primary sensitivity to output DPI
This commit is contained in:
parent
77feecd4dd
commit
814e9bbdb1
12 changed files with 34 additions and 20 deletions
|
@ -21,6 +21,9 @@ namespace rawaccel {
|
|||
|
||||
inline constexpr double MAX_NORM = 16;
|
||||
|
||||
// At this DPI, one count per ms equals one inch per second.
|
||||
inline constexpr double NORMALIZED_DPI = 1000;
|
||||
|
||||
inline constexpr bool LEGACY = 0;
|
||||
inline constexpr bool GAIN = 1;
|
||||
|
||||
|
@ -71,7 +74,6 @@ namespace rawaccel {
|
|||
double output_speed_smooth_halflife = 0;
|
||||
};
|
||||
|
||||
|
||||
struct profile {
|
||||
wchar_t name[MAX_NAME_LEN] = L"default";
|
||||
|
||||
|
@ -82,7 +84,7 @@ namespace rawaccel {
|
|||
accel_args accel_y;
|
||||
speed_args speed_processor_args;
|
||||
|
||||
double sensitivity = 1;
|
||||
double output_dpi = NORMALIZED_DPI;
|
||||
double yx_sens_ratio = 1;
|
||||
double lr_sens_ratio = 1;
|
||||
double ud_sens_ratio = 1;
|
||||
|
@ -94,6 +96,4 @@ namespace rawaccel {
|
|||
double speed_min = 0;
|
||||
double speed_max = 0;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue