Commit graph

89 commits

Author SHA1 Message Date
Jacob Palecki
428f4e8b49 Change motivity type to use syncrhonous framework 2024-07-11 01:09:33 -07:00
Jacob Palecki
7cc1950d1c change other mentions of sens to output dpi 2024-07-05 19:03:25 -07:00
Jacob Palecki
814e9bbdb1 Within driver, change primary sensitivity to output DPI 2024-07-04 13:28:42 -07:00
a1xd
2d22da443d rename override to poll time lock 2024-03-21 09:10:37 -04:00
a1xd
0ef6d591c7 set only the lower bound to polling interval by default 2024-03-20 13:07:59 -04:00
a1xd
7e41750cc4 fix simple_ema_smoother 2024-03-20 12:51:53 -04:00
a1xd
80e3686a95 fix linear_ema_smoother 2024-03-05 11:23:08 -05:00
Jacob Palecki
29e49ba573 Code review changes 2023-10-06 11:17:56 -07:00
Jacob Palecki
0d272dc3ee Further cleanup 2023-10-06 00:44:34 -07:00
Jacob Palecki
b0bbe3d5fa Cleanup 2023-10-05 22:29:11 -07:00
Jacob Palecki
a44cf30d89 Fix some bugs 2023-10-05 18:32:01 -07:00
Jacob Palecki
00dc31fb9c add by component smoothing 2023-10-05 16:11:22 -07:00
Jacob Palecki
365c7e135a input, scale, output smoothing 2023-10-05 15:13:46 -07:00
Jacob Palecki
d3397f82cc Rephrase smoothing window as weight half-life 2023-09-28 12:56:46 -07:00
Jacob Palecki
e6b2ea667d Change to EMA smoothing 2023-09-26 14:19:16 -07:00
Jacob Palecki
eb535a326e init speed_processor in driver + more performant algo 2023-09-15 11:47:32 -07:00
Jacob Palecki
bae980a300 compiles and installs but not smoothing 2023-09-14 21:12:27 -07:00
Jacob Palecki
e40ed565cb variable smooth window with cutoff almost working 2023-09-14 15:41:10 -07:00
Jacob Palecki
684c19b7c8 further work on inputspeedprocessor 2023-06-20 21:02:33 -07:00
Jacob Palecki
f74cc4d40d Add unit tests for testing changes to core cpp via wrapper 2023-06-20 17:52:38 -07:00
a1xd
42a68ec5c9 improve modifier flags 2022-04-13 19:31:48 -04:00
a1xd
330f2f4c2a set modifier flags in userspace 2021-09-23 22:36:19 -04:00
a1xd
94ce1542b0 rename directional multipliers
changes profile layout
2021-09-23 22:36:18 -04:00
a1xd
427a94bc40 rename driver_settings
found a better one

refactor driver/DeviceSetup
2021-09-23 22:34:51 -04:00
a1xd
8680805b26 make profile count dynamic (unlimited) 2021-09-23 22:28:44 -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
9efc361b55 allow p < 2 in Lp distance mode 2021-07-06 16:36:13 -04:00
a1xd
c55d1bfd01 optimize a bit/refactor modify 2021-04-08 02:30:01 -04:00
a1xd
d8140fb31b use callbacks for applying accel 2021-04-01 23:28:41 -04:00
a1xd
3751ac9583 add minimum to complement speed cap
important feature

fixes some validation checks
2021-04-01 20:56:29 -04:00
a1xd
31ffabf6f3 make weights work in by component mode
domain weights now applied under inf norm
range weights now applied when equal
2021-04-01 19:40:19 -04:00
a1xd
fa3ebfb1eb refactor lut/motivity 2021-03-30 18:27:02 -04:00
a1xd
11045335c1 add zero/inf/nan guards 2021-03-29 19:57:33 -04: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
a1xd
48463581ec increase default sens cap 2021-02-02 22:39:19 -05:00
a1xd
8dac6b3ff1 add angle snapping
probably works like interaccel
2021-01-21 22:35:37 -05:00
a1xd
e74f14f2d4 direction/distance calc - small opts 2021-01-21 15:28:51 -05:00
Jacob Palecki
6196cee980 Some fixes 2021-01-11 00:34:56 -08:00
Jacob Palecki
de6b18db82 Implement direcitonality UI 2021-01-10 23:49:28 -08:00
Jacob Palecki
a368a0ede4 Add to stigma, directional to settings 2021-01-08 00:22:33 -08:00
Jacob Palecki
1174c29eb1 Add core logic in common 2021-01-07 23:50:00 -08:00
a1xd
c221eb3d62 add changes from review
rename some vars
prefer exceptions over assert
refactor poll rate field usage in MouseWatcher
2020-12-03 22:42:29 -05:00
a1xd
5657d5a54c add directional multipliers
adds multipliers for movement in negative directions (up & left by default, can be flipped by rot or sens)

avoid division by user input in mousewatcher
2020-12-03 20:00:31 -05:00
a1xd
f0ec7a2788 move speedcap into accelerator 2020-10-21 21:03:19 -04:00
a1xd
57be3fadb7 add speed cap 2020-10-20 00:40:22 -04:00
a1xd
499691c463 raise default scale cap from 9 to 128 2020-10-10 18:01:47 -04:00
a1xd
85aefb4ba1 add arg checks in wrapper
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
2020-09-27 23:04:29 -04:00
Jacob Palecki
80ffeaf6d6 Remove logarithm 2020-09-26 15:13:53 -07:00