summaryrefslogtreecommitdiff
path: root/common/accel-power.hpp
Commit message (Collapse)AuthorAgeFilesLines
* fix power + gain + input cap + offset edge casea1xd2021-09-231-0/+8
| | | | just return offset when cap < offset
* rename classic_cap_modea1xd2021-09-231-7/+7
|
* generalize power start-from-1a1xd2021-09-231-146/+79
| | | | starting output is determined by (gain) offset
* Add power start from oneJacob Palecki2021-09-231-14/+63
|
* Remove weightJacob Palecki2021-09-231-1/+1
|
* Get power cap workingJacob Palecki2021-09-231-8/+114
|
* refactor vec2/matha1xd2021-09-231-1/+0
|
* add per-device configurationa1xd2021-09-231-12/+54
| | | | | | | | | | | 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
* move arbitrary input into settingsa1xd2021-04-131-1/+0
| | | | separate arbitrary mode from spaced modes, arbitrary now deserializes from default settings file
* refactor lut/motivitya1xd2021-03-301-0/+1
|
* formatting + file renamesa1xd2021-03-291-3/+4
|
* refactor common/settingsa1xd2021-03-291-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* add arg checks in wrappera1xd2020-09-271-1/+1
| | | | | | | | | | | minor changes to settings shape, requires driver reinstall add error handling to writer grapher changes: add prettier serialization + comments add elements for scale and separated limit/exp reset irrelevant (invisible) arg input before checks/write
* add independent xy accel to drivera1xd2020-08-311-24/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* define exceptions for invalid arg & io errorsa1xd2020-08-111-2/+2
|
* add more tweaks for st-refactora1xd2020-07-311-2/+2
|
* Make weight a member of accel_basea1xd2020-07-301-1/+9
| | | | This exposes weight to derived accel types, which now supply a method to transform acceleration into scale.
* add tweaks for st-refactora1xd2020-07-301-0/+33