Commit Graph

135 Commits

Author SHA1 Message Date
pixl
b05e525bbc
Add RawReport log level 2020-07-12 16:14:24 -04:00
pixl
c04408c2dd
Implement logid::backend::dj::ReceiverMonitor 2020-07-12 16:14:24 -04:00
pixl
6bfa52e5c1
Remove libhidpp submodule 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
pixl
7f1af81910
Rewrite logid::DeviceMonitor 2020-07-12 16:14:21 -04:00
pixl
b41649b0de
Implement dj::Receiver class
Again, many things were done here.
2020-07-12 16:13:54 -04:00
pixl
47db60fad8
Fix swapped DefaultDevice and CordedDevice indexes 2020-07-12 16:13:53 -04:00
pixl
ecc5062e0f
Support getting version of HID++ 1.0 devices 2020-07-12 16:13:53 -04:00
pixl
7571be1f54
Don't create a new thread for each raw event
Threads should be created as necessary, there is no reason to
launch a simple event handler in a new thread.
2020-07-12 16:13:53 -04:00
pixl
cc025d3b96
Fully implement Root and virutal Feature class 2020-07-12 16:13:53 -04:00
pixl
c21a923ab2
Print version number of device 1 on each raw dev.
Only works on HID++ >=2.0 so far. Also solves a race condition where
the wrong response can be sent to a request.
2020-07-12 16:13:53 -04:00
pixl
14d07c220e
Create enum of feature IDs 2020-07-12 16:13:53 -04:00
pixl
91954e8a73
Use shared_ptr for devices in DeviceMonitor 2020-07-12 16:13:53 -04:00
pixl
6b895b3015
Monitor all HID++ reports on wireless device 1
Again, many things were done in this commit such as implementing an
I/O queue, a mutex_queue, and implementing the hidpp::Report class.

I'm expecting commits to be like this until I can get a clean
codebase for the backend.
2020-07-12 16:13:53 -04:00
pixl
1de722b935
Add note about state of branch in README.md 2020-07-12 16:13:52 -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
PixlOne
526ffec61a
Implement reload method 2020-07-12 16:03:32 -04:00
PixlOne
6316b89840
Reorganise logid.cpp 2020-07-12 16:01:52 -04:00
PixlOne
6e7445b197
Add versioning to logiops binaries 2020-07-12 16:00:33 -04:00
pixl
7b304b85cf
Merge pull request #92 from glunardi/patch-1
Indicate DEFAULT_CONFIG_FILE location
2020-07-08 17:35:39 -04:00
Guy Lunardi
d73b30eb21
Indicate DEFAULT_CONFIG_FILE location
While fairly self-evident, would be helpful to mention to users where their logid.cfg is meant to go. This just adds one sentence to achieve just that.
2020-07-06 23:27:47 -04:00
pixl
1f16d85d38
Merge pull request #88 from javawithjiva/master
#87 Add string headers to allow building on latest gcc
2020-07-05 15:39:36 -04:00
Azeem Jiva
d0242f53c8 Add string headers to allow building on latest gcc 2020-07-04 11:36:53 -07:00
pixl
ef84577b9c
Add ability to blacklist devices 2020-07-04 00:10:44 -04:00
pixl
2654f319c6
Move tested devices to TESTED.md 2020-06-21 15:45:50 -04:00
pixl
a425dcca9e
Merge pull request #79 from zv0n/master
M720 confirmed working
2020-06-21 15:41:52 -04:00
zvon
52d5c0454a M720 confirmed working 2020-06-21 16:11:41 +02:00
pixl
f5092572ac
Create FUNDING.yml 2020-06-20 03:06:51 -04:00
pixl
9bb949b87c
Change MX Master 2 to MX Master 2S 2020-06-16 18:58:27 -04:00
pixl
0e70d0e799
Merge pull request #78 from fourstepper/master
Add MX Master 2 and 3 to supported devices
2020-06-16 18:55:45 -04:00
Fourstepper
934bee9b5f fixes 2020-06-16 21:03:34 +02:00
Fourstepper
41f7ed7ea7 Adding differentiation between mx master devices for easier recognition 2020-06-16 21:02:29 +02:00
pixl
29abcbe4f7
Merge pull request #77 from Zak-Bahm/master
MX Ergo confirmed working for button mapping
2020-06-15 15:54:00 -04:00
Zacharias Bahm
3bdc8f0145 MX Ergo confirmed working for button mapping 2020-06-15 14:05:12 -04:00
pixl
8185061f2e
Added dependencies for Debian and Arch 2020-06-15 05:47:03 -04:00
pixl
4f5b1ff671
Added donate button to README.md 2020-06-15 03:31:36 -04:00
pixl
e66039ae41
Merge pull request #68 from zv0n/master
Log device's available CIDs
2020-06-13 01:09:29 -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
pixl
78f2d74cc1 Update hiddp submodule 2020-05-15 18:57:05 -04:00
pixl
8de0f7e042 Set CMAKE_INSTALL_PREFIX to /usr
Should fix #26 and (hopefully) any questions relating to missing
libhiddp.so.
2020-05-15 04:28:25 -04:00
PixlOne
0c5291083d Move StartLimitIntervalSec to Unit
Solution to #51, thanks levaidaniel
2020-05-15 04:07:17 -04:00
pixl
1d7683237b
Merge pull request #62 from fstreun/master
Fix DeviceConfig default initialization
2020-05-15 04:03:16 -04:00
Fabio Streun
992f2dad35 Add MX Vertical to tested devices 2020-05-14 17:02:40 +02:00
Fabio Streun
97b174f6df Fix DeviceConfig default initialization
Initialize smartshift to nullptr.
Otherwise, the device configuration contains a SmartshiftStatus, even though, none was declared in the configuration file.
This causes later an error if the device does not support SmartShift.
2020-05-14 12:43:25 +02:00
PixlOne
2ed3efaed4 Make logid service restart after failure
Workaround, should fix bug #39.
2020-04-07 15:07:06 -04:00
PixlOne
00298c00ab Make gesture constructor require fewer arguments 2020-04-02 02:09:03 -04:00
PixlOne
5a913552b1 Make OnFewPixels require a pixels field.
Fixes bug #29.
2020-04-01 02:31:46 -04:00