Commit graph

34 commits

Author SHA1 Message Date
dokutan
98bb1fb58c Fix cppcheck warnings, part 2 2021-04-24 16:42:32 +02:00
dokutan
d5f2b59fd4 Update mouse detection to better handle models with multiple USB ids 2021-02-28 17:56:37 +01:00
dokutan
dce9d509bb Remove m prefix from mouse names 2021-02-07 22:31:05 +01:00
dokutan
2f035071bd Updated main function to be completely generic 2021-01-22 14:09:02 +01:00
dokutan
b45586ce64 Add mouse_variant typedef 2021-01-21 23:59:43 +01:00
dokutan
2f05bc5920 Updated configuration loading 2021-01-21 17:22:54 +01:00
dokutan
ce32d111eb Move lightmode and report rate encoding to functions 2021-01-20 22:45:16 +01:00
dokutan
65bd23542c Update lightmode and report rate decoding in remaining read* functions 2021-01-20 21:48:39 +01:00
dokutan
ab6ae05883 Move lightmode and report rate decoding to functions in rd_mouse 2021-01-20 21:25:58 +01:00
dokutan
f4c415887b Move generic dpi_bytes_to_string() to rd_mouse 2021-01-20 18:39:39 +01:00
dokutan
ce9a30f3d1 Add missing typecast in read_and_print_settings error message 2021-01-19 23:55:56 +01:00
dokutan
0b5fa86ca7 Add mouse_generic class 2020-11-10 16:06:17 +01:00
dokutan
ed149ecd68 Remove redundant code 2020-11-08 18:13:43 +01:00
dokutan
3a996e67a1 Remove old code for repeating macros 2020-11-08 18:01:17 +01:00
dokutan
905598b2a1 Move macro encoding to a new function 2020-11-08 15:03:05 +01:00
dokutan
dd5cfb9ac5 Add snipe button support, remove duplicate code 2020-11-07 22:40:30 +01:00
dokutan
df7d5d6084 Fix wrong dpi levels in print_settings() 2020-09-24 17:36:53 +02:00
dokutan
2c597d402b Add support for actual DPI values in the config.ini 2020-09-24 17:23:34 +02:00
dokutan
bf3620e5ed Check DPI level in set_dpi() and get_dpi() 2020-09-22 22:34:07 +02:00
dokutan
2a872024ed Add dpi_bytes_to_string() 2020-09-22 22:18:34 +02:00
dokutan
270583bd88 Update set_dpi() and get_dpi() 2020-09-22 18:24:07 +02:00
dokutan
9f673bced8 Change internal DPI format for all mice 2020-09-21 23:09:12 +02:00
dokutan
63b5d8a9a6 Change internal DPI format for the M908 2020-09-21 21:16:14 +02:00
dokutan
922ff02965 Move macro decoding to rd_mouse::_i_decode_macro() 2020-09-09 00:31:29 +02:00
dokutan
70c7a6cfb7 Fix macro decoding in print_settings() 2020-09-08 00:09:25 +02:00
dokutan
bdfd7f9ca7 Fix macro decoding 2020-09-07 23:30:15 +02:00
dokutan
8e3529431e Move usb device handling to rd_mouse 2020-08-29 16:29:48 +02:00
dokutan
00f7f0f8ba Automatically detect model 2020-08-14 19:33:57 +02:00
dokutan
3f60b28c21 Make _c_button_names private 2020-07-20 20:28:10 +02:00
dokutan
885b31f22b Update examples and -R output 2020-07-20 13:39:33 +02:00
dokutan
2e1c6ff40d Change valid key check in m908/getters.cpp 2020-07-16 14:12:53 +02:00
dokutan
49e2ad88f0 Update write_settings() for the M709 2020-07-12 22:48:41 +02:00
dokutan
e3907f52fe Update TODO.md, update comments 2020-07-12 20:50:00 +02:00
dokutan
9b02db44b8 Prepare for different models 2020-07-12 20:35:13 +02:00