Commit graph

16 commits

Author SHA1 Message Date
a1xd
115030165d generalize power start-from-1
starting output is determined by (gain) offset
2021-09-23 22:36:18 -04:00
a1xd
864ef4d74b fix clang build errors 2021-09-23 22:34:51 -04:00
a1xd
6a9272d3af refactor vec2/math 2021-09-23 22:28:44 -04:00
a1xd
5b659e1cfb add per-device configuration
adds input and [in, out] cap for classic mode
adds input cap for power mode
change wrapper/input, now gets useful device names
change (now dev specific) dpi to adjust sensitivity
change y sensitivity to y/x ratio
remove spaced LUTs

grapher and convert do not build
2021-09-23 22:28:44 -04:00
a1xd
e3fe51dde5 fix some things 2021-04-08 12:38:08 -04:00
a1xd
c55d1bfd01 optimize a bit/refactor modify 2021-04-08 02:30:01 -04:00
Jacob Palecki
c06d88e602 natural legacy algorithm was correct, leave as it was 2021-04-06 23:34:13 -07:00
Jacob Palecki
258fcd3bd2 Fix natural legacy algorithm, rename accelNatural to decayRate 2021-04-06 23:11:20 -07:00
a1xd
ed0bbc2268 formatting + file renames 2021-03-29 18:01:20 -04:00
a1xd
16dc4df3d4 refactor common/settings
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
2021-03-29 17:14:49 -04:00
Jacob Palecki
01f870a493 Refactor for nice gain offset 2020-09-03 19:36:44 -07:00
Jacob Palecki
c7e9641e86 Change classic, natural, naturalgain to use gain offset 2020-09-03 13:21:45 -07:00
a1xd
9010cc593a add independent xy accel to driver
other changes:

modifier_args type name is now settings,
which is now the type passed in driver ioctl

remove most settings/args verification from driver,
plan to let gui handle most of it

add another accel arg, rate, which is used to set
the 'accel' parameter of types which call exp (nat/sig),
might want to cap it

add (update) serializable DriverSettings (ModifierArgs) class to
gui and static methods for interop

remove properties from ManagedAccel, its now just a black box
for accessing modifier methods

add exception handling in wrapper_io to throw proper managed types

change SettingsManager::Startup to make a new settings file
if an error occurs during deserialization

change structure of accel types; how offset and weight are applied
now depend on additivity of types

remove tagged_union and add a handrolled variant/visit impl

AccelGui::UpdateActiveValueLabels currently broken for caps
and a few other args

remove gui default layout and initial natural accel setup

cli not updated
2020-08-31 19:41:21 -04:00
a1xd
c7f881c869 define exceptions for invalid arg & io errors 2020-08-11 23:15:02 -04:00
a1xd
b3ed8fd4e4 add more tweaks for st-refactor 2020-07-31 01:37:41 -04:00
a1xd
e8417a29fb add tweaks for st-refactor 2020-07-30 17:07:35 -04:00