Commit Graph

24 Commits

Author SHA1 Message Date
pixl 82ff2bdf38 Create features::UnsupportedFeature exception
Creates an abstraction layer for hidpp10/hidpp20/etc. UnsupportedFeature
exceptions.
2020-07-18 21:15:39 -04:00
pixl d3d4a2755a Apply clang-tidy inspections 2020-07-14 00:12:40 -04:00
pixl 77f4240ec7 Add ToggleSmartShift action 2020-07-12 16:16:24 -04:00
pixl 71b0ddd279 Add reset mechanism to logid::Device 2020-07-12 16:16:24 -04:00
pixl c382ba1c0b Add getFeature function to Device 2020-07-12 16:15:48 -04:00
pixl 4e33ad7593 Add SmartShift Device feature 2020-07-12 16:15:48 -04:00
pixl 07b8fc1af4 Add DPI feature 2020-07-12 16:15:48 -04:00
pixl f6b93b94af Split Configuration into several classes
Each feature should handle its own configuration.
2020-07-12 16:15:48 -04:00
pixl 152b9e6cfd Add interface for device features in logid::Device 2020-07-12 16:15:48 -04:00
pixl 22455af615 Add GPL copyright notice in all C++ source files 2020-07-12 16:15:32 -04:00
pixl e40da5f0c0 Implement receiver HID++ connect/disconnect events
Many changes were made here but that was the biggest one.

There's currently a bug where std::system_error: Broken pipe is thrown
after launching the daemon with a receiver connector.

A workaround for this bug is to simply shake the mouse while starting
the daemon. I will investigate this soon.
2020-07-12 16:14:24 -04:00
pixl 7f1af81910 Rewrite logid::DeviceMonitor 2020-07-12 16:14:21 -04:00
pixl ec4ae56bc4 Implement raw DeviceMonitor
Multiple things have been done in this commit; the base of the new
backend has effectively been created. This branch currently has many
vital parts commented out. Therefore, this branch is currently only
intended for debugging.
2020-07-12 16:13:40 -04:00
pixl ef84577b9c Add ability to blacklist devices 2020-07-04 00:10:44 -04:00
zvon a8abe89cd1 Only prit CIDs the first time a device connects 2020-06-11 18:26:42 +02:00
PixlOne 38dcc65d4b Use camelCase for function names 2019-10-05 21:27:17 -04:00
PixlOne 9272666ffe Use logid namespace 2019-10-04 21:56:17 -04:00
PixlOne ca04204a8c Use receiver events to listen for devices 2019-10-02 18:41:10 -04:00
PixlOne 0002d9f536 Fix bluetooth reconnection events 2019-09-21 13:29:12 -04:00
PixlOne 8d2ae4c3c4 Fixed bug where mouse would not reconfigure 2019-08-17 19:58:00 -04:00
PixlOne 268908e5a7 Implement additional gesture modes 2019-08-08 18:22:54 -04:00
PixlOne b95cc60fd1 Use events instead of continous pinging 2019-07-28 02:08:18 -04:00
PixlOne fef5ade956 Add Reprog Controls V3 support 2019-07-22 19:47:09 -04:00
PixlOne 9c092edcf3 Major refactoring, transferring from masterd 2019-07-17 01:53:51 -04:00