Commit Graph

28 Commits

Author SHA1 Message Date
pixl
21ae951f3f
Bind delayed lambda lifetimes to owners
Prevents race conditions when objects are being destructed.
2023-05-02 16:01:09 -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
47e4ba2b44
Add exponential backoff to device monitor 2023-05-01 21:51:08 -04:00
pixl
fc96bb7b40
Remove DJ support requirement from receivers
Allows Logi Bolt receivers to be detected by logid but not yet used.
2023-04-29 16:49:38 -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
f23326c660
Complete DeviceManager interface 2022-01-08 22:32:49 -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
pixl
78c0788be6
Fix bad removeDevice map check 2020-07-19 23:48:24 -04:00
pixl
018bdb83ad
Add ability to ignore devices 2020-07-14 16:21:14 -04:00
pixl
d3d4a2755a
Apply clang-tidy inspections 2020-07-14 00:12:40 -04:00
pixl
937225b6f2
TODO cleanup: Remove error check todo in DeviceManager 2020-07-13 22:44:22 -04:00
pixl
f7638b0905
Properly output TimeoutError
Fixed issue where receiver devices aren't detected (hopefully).
2020-07-12 16:16:50 -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
fb0b8e88ef
Clean up temporary code 2020-07-12 16:14:24 -04:00
pixl
f2a7b7b947
Fix long report descriptor check 2020-07-12 16:14:24 -04:00
pixl
f0c903d539
Rename DeviceMonitor to DeviceManager 2020-07-12 16:14:24 -04:00