Commit Graph

53 Commits

Author SHA1 Message Date
pixl
27b6a2fd8f
Add full profile support 2023-05-02 18:06:25 -04:00
pixl
a578493dba
Require HID++ devices to be made as shared_ptrs
Binds event handlers and tasks to lifetime of object. Ensures no race
conditions occur during destruction of HID++ devices.
2023-05-02 14:30:47 -04:00
pixl
a468861f7d
Fix release warnings
Also possibly fixes some undefined behaviour in release builds?
2023-05-02 01:15:46 -04:00
pixl
8a4e2cce81
Reduce thread footprint by using a work queue
Also allows tasks on queue to be run after a certain amount of time.
2023-05-02 00:39:03 -04:00
pixl
485788a74e
Ensure wheel compaitiblity with gestures
Also uses a definition for the root service name pizza.pixl.LogiOps.
2023-04-29 14:18:29 -04:00
pixl
d7bc4958ba
Clean up includes 2023-04-29 00:24:35 -04:00
pixl
9d15610596
Update GPL copyright year 2023-04-28 21:18:33 -04:00
pixl
9efd121387
Code cleanup and reformatting 2023-04-28 21:18:33 -04:00
pixl
605ccdc07d
Add several IPC interfaces 2022-02-14 01:03:56 -05:00
pixl
f25a1e4657
Ignore hidpp responses to kernel driver
Also fixes a bug where unconfigured devices would error.
2022-01-28 18:28:58 -05:00
pixl
7862c85d71
Use epoll for I/O multiplexing 2022-01-28 15:48:00 -05:00
pixl
dbe24f9350
Phase out workqueue 2022-01-21 23:24:47 -05:00
pixl
9b94fad0a6
Use new config interface 2022-01-20 01:29:18 -05:00
pixl
3c723dc3cf
Expand Device and RemapButton interface 2022-01-09 21:49:09 -05:00
pixl
f93a8b694d
Implement profile support
(cherry picked from commit 1aa6cd0224ebe4dc9ca72171728f7b500c624b65)
2022-01-08 22:49:27 -05:00
pixl
918ea63755
Add Device and Receiver signals to DeviceManager 2022-01-08 00:05:32 -05:00
pixl
65fc252607
Eliminate global variables
global_loglevel is kept for the time being and will be replaced
alongside the current logger.
2022-01-07 19:43:41 -05:00
Nicolas De Amicis
7462a11a5a
Update Device.cpp 2021-02-03 16:38:43 +01:00
pixl
8348782f27
Implement ThumbWheel feature
This feature has not been tested as it only works on devices with the
0x2150 Thumb wheel feature (e.g. MX Master 3).
2020-08-22 16:59:10 -04:00
pixl
34b8047360
Refer to receiver from receiver devices 2020-07-20 00:25:04 -04:00
pixl
cfcdca00a0
Add DeviceStatus device feature
Should fix bug #66.
2020-07-18 22:55:51 -04:00
pixl
d3d4a2755a
Apply clang-tidy inspections 2020-07-14 00:12:40 -04:00
pixl
055d136b09
Add HiresScroll device feature 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
5bf5dc75b5
Implement RemapButton feature
Many changes were made here, too many to list here.
2020-07-12 16:16:22 -04:00
pixl
c382ba1c0b
Add getFeature function to Device 2020-07-12 16:15:48 -04:00
pixl
b445b979d3
Remove some useless debug output 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
1106133f3c
Move logger into util/log.h 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
dd75df8c18
Use consistent code style
Only files that are currently used in logid are changed.
2020-07-12 16:14:25 -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
f2a7b7b947
Fix long report descriptor check 2020-07-12 16:14:24 -04:00
pixl
7f1af81910
Rewrite logid::DeviceMonitor 2020-07-12 16:14:21 -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
zvon
a69ba7787e Log device's available CIDs 2020-06-10 15:26:45 +02:00
PixlOne
f3edab82ce Fix unsupported functions on ReprogControls 2020-03-29 18:05:52 -04: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
rockerbacon
ba0bf93b80 Switched device removal and insertion responsibility to DeviceFinder 2019-09-20 17:20:06 -03:00
PixlOne
4dff144798 I forget what I did here. 2019-09-11 20:41:44 -04:00
PixlOne
8d2ae4c3c4 Fixed bug where mouse would not reconfigure 2019-08-17 19:58:00 -04:00
PixlOne
e36750f8cd Undivert unused CIDs 2019-08-08 20:17:10 -04:00
PixlOne
268908e5a7 Implement additional gesture modes 2019-08-08 18:22:54 -04:00
PixlOne
52f6a667d0 Add config info in README 2019-07-29 22:56:20 -04:00