Commit graph

16 commits

Author SHA1 Message Date
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
3dc64cc13a make ioctls constexpr 2021-09-23 22:28:44 -04:00
a1xd
14bde56daf update rest
grapher is still broken

refactored io / error handling a bit
2021-04-01 01:51:31 -04:00
a1xd
fa3ebfb1eb refactor lut/motivity 2021-03-30 18:27:02 -04:00
a1xd
ed0bbc2268 formatting + file renames 2021-03-29 18:01:20 -04:00
a1xd
7d14daf1d5 embed version info into assemblies
check app versions against lib, lib against driver

add an 'about' dialog which displays version details, accessible from menu

refactor error handling + add check for negative offset
2020-12-02 05:25:19 -05:00
a1xd
b7bd9f5950 refactor io 2020-12-01 01:41:22 -05:00
a1xd
7ff79f4e71 add 1s write delay to driver 2020-09-01 22:28:45 -04: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
313ab92531 clean up wrapper, minimize heap alloc 2020-08-24 04:24:33 -04:00
a1xd
c7f881c869 define exceptions for invalid arg & io errors 2020-08-11 23:15:02 -04:00
a1xd
b957eebe58 fix read function using direct io 2020-08-03 21:22:54 -04:00
a1xd
b49a91627f move clipp/parse logic into console project 2020-07-31 20:36:17 -04:00
a1xd
66a4043a9e move write function into common io header 2020-07-31 20:19:24 -04:00
a1xd
5241f9783b add read
add function that makes an ioctl call to return the driver's active mouse_modifier
2020-07-31 20:04:19 -04:00