diff options
| author | a1xd <[email protected]> | 2021-01-12 17:01:18 -0500 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-01-12 17:01:18 -0500 |
| commit | 0e60e22b73dd0693b349cbb63cf9a390c01fd5dd (patch) | |
| tree | 493bfaeb2b59b7db452c52e9ec9713e8b8296510 /common/rawaccel-settings.h | |
| parent | Small behavior improvements (diff) | |
| download | rawaccel-0e60e22b73dd0693b349cbb63cf9a390c01fd5dd.tar.xz rawaccel-0e60e22b73dd0693b349cbb63cf9a390c01fd5dd.zip | |
filter raw input based on id
use device id (from device instance) over first hardware id
use buffered method for all ioctls
update gui/DeviceIDManager to match driver behavior
respond to device change events
desync MouseData and PointData accessors
Diffstat (limited to 'common/rawaccel-settings.h')
| -rw-r--r-- | common/rawaccel-settings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rawaccel-settings.h b/common/rawaccel-settings.h index f94e960..eb7c49a 100644 --- a/common/rawaccel-settings.h +++ b/common/rawaccel-settings.h @@ -3,7 +3,7 @@ #include "vec2.h" #include "accel-base.hpp" -#define MAX_HWID_LEN 200 +#define MAX_DEV_ID_LEN 200 namespace rawaccel { @@ -25,7 +25,7 @@ namespace rawaccel { vec2d sens = { 1, 1 }; vec2d dir_multipliers = {}; milliseconds time_min = DEFAULT_TIME_MIN; - wchar_t device_hw_id[MAX_HWID_LEN] = {0}; + wchar_t device_id[MAX_DEV_ID_LEN] = {0}; }; } |