diff --git a/README.md b/README.md index deb80a7..ee19472 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ char* driver_get_manufacturer(void* handle); // Returns manufacturer name * Mouse drivers * * - DPI Levels: max levels, level info (dpi + led), level count, current level -* - Debounce time : possible values, current value * - Motion sync -* - Lift off distance : possible values, current value * - Angle snap * - Polling rate : possible values, current value +* - Debounce time : possible values, current value +* - Lift off distance : possible values, current value * - LED (color/effect/status) */ struct MOUSE_DPI_LEVELS @@ -43,7 +43,9 @@ struct MOUSE_DPI_LEVELS unsigned char b; } level[]; }; -struct MOUSE_DPI_LEVELS driver_mouse_dpi_get(void* handle); +int driver_mouse_dpi_get(void* handle, struct MOUSE_DPI_LEVELS* output); +int driver_mouse_motion_sync_get(void* handle, bool* output); +int driver_mouse_angle_snap_get(void* handle, bool* output); /* * Wireless driver diff --git a/src/device/driver_interface.h b/src/device/driver_interface.h index ee90bca..0f17f33 100644 --- a/src/device/driver_interface.h +++ b/src/device/driver_interface.h @@ -38,4 +38,8 @@ struct MOUSE_DPI_LEVELS }; int driver_mouse_dpi_get(void* handle, struct MOUSE_DPI_LEVELS* output); +int driver_mouse_motion_sync_get(void* handle, bool* output); +int driver_mouse_angle_snap_get(void* handle, bool* output); + + #endif \ No newline at end of file