libx52/daemon
nirenjan e8abbd0374 Allow for a greater range in mouse speeds
Prior to this change, the virtual mouse update was restricted to
updating once every `mouse_delay` microseconds, and the allowed values
were a small fixed set. Some users reported that even at the highest
speed, the speed was slower than they were used to (with a high DPI
mouse).

This change modifies the speed calculation algorithm as follows. It
keeps the slowest speed to refresh the mouse every 70 ms. As the speed
increases, the refresh rate drops by 5 ms for every increment in speed,
until the refresh rate caps at once every 10 ms. Beyond that, a
multiplicative factor begins to take effect, with each speed increase
adding 0.25 to the factor. That is, speed 13 would multiply the axis
components by 1.25 _and_ refresh every 10 ms. Speed 14 would bump the
factor to 1.50, speed 15 to 1.75, and so on, until the factor tops out
at 6.0.
2021-09-19 16:39:49 -07:00
..
Makefile.am Use $(localstatedir)/run instead of $(runstatedir) 2021-09-15 09:06:31 -07:00
daemon.dox Add PID file argument to documentation 2021-08-05 05:47:44 -07:00
x52d.conf Add framework for virtual mouse driver 2021-09-14 10:02:21 -07:00
x52d.service.in Enable verbose logging in systemd service 2021-09-14 17:34:20 -07:00
x52d_clock.c Ignore changes to clock settings if clock is disabled 2021-08-30 12:01:41 -07:00
x52d_clock.h Add clock update functionality 2021-07-23 10:13:18 -07:00
x52d_config.c Add config save routines 2021-08-09 22:16:30 -07:00
x52d_config.def Add framework for virtual mouse driver 2021-09-14 10:02:21 -07:00
x52d_config.h Add framework for virtual mouse driver 2021-09-14 10:02:21 -07:00
x52d_config_dump.c Make sure config file is closed after dumping configuration 2021-08-30 10:28:26 -07:00
x52d_config_parser.c Change the config macro definitions to use a type 2021-08-09 21:25:06 -07:00
x52d_const.h Allow x52d to daemonize 2021-08-04 13:13:12 -07:00
x52d_device.c Merge device acquisition and update threads 2021-09-15 00:17:20 -07:00
x52d_device.h Disable device check routine in daemon 2021-09-14 09:10:52 -07:00
x52d_io.c Fix use of libx52io return codes 2021-09-15 00:06:43 -07:00
x52d_io.h Create I/O thread to read and process events 2021-09-14 13:33:36 -07:00
x52d_led.c Print integer representation of LED state when setting it 2021-09-13 15:49:20 -07:00
x52d_main.c Add mouse update thread 2021-09-14 17:08:01 -07:00
x52d_mouse.c Allow for a greater range in mouse speeds 2021-09-19 16:39:49 -07:00
x52d_mouse.h Allow for a greater range in mouse speeds 2021-09-19 16:39:49 -07:00
x52d_mouse_evdev.c Allow for a greater range in mouse speeds 2021-09-19 16:39:49 -07:00