pixl and GitHub
dbe2b28a53
Add Logitech trademarks to README
2022-01-31 14:52:17 -05:00
pixl and GitHub
ed3b0ee067
Merge pull request #293 from tekq/patch-1
...
Update Dependencies to also include openSUSE
2022-01-30 16:06:35 -05:00
pixl and GitHub
8e87b73d7d
Merge pull request #284 from damageboy/master
...
Resolve majority of clang+libstdc++ warnings
2022-01-06 16:26:39 -05:00
pixl and GitHub
7f70dc7ffa
Merge pull request #272 from lazarin/patch-1
...
Add M500s to the list of supported devices
2022-01-02 02:56:03 -05:00
pixl
fe72e51155
Do not register EV_REL axis by default
...
Fixes #244 , #245 , #281 .
2022-01-02 02:54:41 -05:00
pixl and GitHub
53c9c0a5e4
Merge pull request #277 from mellolucas/patch-1
...
Added MX Ergo Config Name
2022-01-02 02:06:39 -05:00
pixl and GitHub
6bb4700009
Merge pull request #246 from wooparadog/master
...
Fix systemd denepdency
2021-05-27 10:02:15 -04:00
pixl and GitHub
990f923e7a
Add colon to Gentoo in README.md
2021-04-24 01:49:27 -04:00
pixl and GitHub
febbe3b5de
Merge pull request #218 from ConiKost/gentoo
...
Add Gentoo Linux to README.md
2021-04-24 01:47:34 -04:00
pixl and GitHub
0a26579d5a
Merge pull request #200 from deamn/master
...
Add <thread> to Device.cpp, fixes issue #199
2021-03-13 20:24:54 -05:00
pixl and GitHub
214af3d6bb
Merge pull request #215 from PixlOne/fix/thumbwheel
...
Fix ThumbWheel feature direction bug
2021-03-13 19:30:30 -05:00
pixl and GitHub
916fa8692c
Merge pull request #209 from BarrensZeppelin/master
...
Fix missing release of ThumbWheel touch
2021-03-13 18:03:26 -05:00
pixl
48399a1dd4
Fix ThumbWheel feature direction bug
...
Should fix #145 for the MX Master 3
2021-03-13 17:55:53 -05:00
pixl and GitHub
9514f4ed73
Merge pull request #168 from Ashark/patch-1
...
Filled in config name for MX Vertical
2021-01-06 20:59:58 -05:00
pixl and GitHub
1f1a306334
Merge pull request #185 from aragon999/feature/only-register-axes-if-used
...
Enable axis in virtual_input device only when needed
2021-01-06 20:58:46 -05:00
pixl and GitHub
ffcfb3da82
Merge pull request #183 from aragon999/fix/keypress-systemd-issue
...
Register keys for keypress only when needed.
TODO: Apply this for axes too?
2020-12-20 19:46:44 -05:00
pixl and GitHub
1c209edaad
Merge pull request #159 from PixlOne/revert-157-master
...
Revert "Enable compatibility with libconfig older than v1.5"
2020-11-23 15:43:04 -05:00
pixl and GitHub
ec8115634d
Revert "Enable compatibility with libconfig older than v1.5"
2020-11-23 15:42:29 -05:00
pixl and GitHub
1d6a89881f
Merge pull request #157 from abraha2d/master
...
Enable compatibility with libconfig older than v1.5
2020-11-22 21:02:41 -05:00
pixl and GitHub
4c582241d5
Merge pull request #137 from gavinhungry/tested-mx-anywhere-3
...
Add MX Anywhere 3 to TESTED.md
2020-10-08 23:33:49 -04:00
pixl and GitHub
d1d8c49021
Merge pull request #136 from AvdN/patch-1
...
package install instructions for Solus
2020-09-28 01:43:19 -04:00
pixl and GitHub
951661dc62
Merge pull request #127 from KnowYourselves/master
...
Add MX Anywhere S2 to TESTED.md
2020-09-06 03:05:45 -04:00
pixl
3b4b90dac0
Support NoPress gesture mode on none direction
...
Fix #122 , makes logid.example.cfg accurate.
2020-09-05 18:12:56 -04:00
pixl
4cfc2515d5
Fix ThumbWheel setStatus arg alignment
2020-09-05 18:00:18 -04:00
pixl and GitHub
a577b74c33
Merge pull request #125 from leo-ventura/master
...
docs: Update logid.example.cfg and fix daemon instruction on readme
2020-09-01 19:00:43 -04: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
a8e2ecbcd7
Add HiresScroll destructor
2020-08-21 21:46:33 -04:00
pixl
b554d32cf3
Fix InputDevice on distros without hires axes
2020-08-21 21:02:24 -04:00
pixl
cce1275385
Implement HID++ 2.0 ThumbWheel (0x2150)
2020-08-21 20:29:06 -04:00
pixl
63ecbc411e
Fix InputDevice missing header on some systems
2020-08-21 20:09:02 -04:00
pixl and GitHub
2dfe139f6c
Merge pull request #114 from andy-shi88/logi-m590-tested
...
Add m590 TESTED.md:ConfigName
2020-08-21 16:58:35 -04:00
pixl
41903992ef
Fix ThresholdGesture
...
Style fixes, allow to compile, add copyright notice.
2020-08-21 16:57:40 -04:00
pixl and GitHub
e570e7b91e
Merge pull request #115 from michtere/master
...
Add ThresholdGesture.
2020-08-21 16:54:07 -04:00
pixl
c1423e345e
Support HiresScroll gesture remapping
...
This commit allows HiresScroll (when target is true) to map the up and
down events to gestures that support it (i.e.AxisGesture/
IntervalGesture). This check is done by checking if wheelCompatibility()
is true.
This also allows hires scroll events to send low-res scroll events as
well.
TODO: Fix bug w/ Chromium (and some other programs?) where mapping
scroll wheel to REL_WHEEL_HI_RES will cause the program to skip events
occassionally. I have literally been stuck on this bug for a week and I
still don't know what causes it. evtest shows proper scroll events,
Firefox works fine, and libinput test-gui reports proper scrolling.
2020-08-21 16:05:20 -04:00
pixl
6ea65601f3
Fix typo in HiresScroll
2020-08-02 02:34:58 -04:00
pixl and GitHub
c3419b9468
Align columns in TESTED.md
2020-07-25 15:09:14 -04:00
pixl and GitHub
e644eb779b
Add other known device config names to TESTED.md
2020-07-25 15:06:04 -04:00
pixl and GitHub
62e9863ffc
Merge pull request #110 from lambdageek/patch-1
...
(TESTED.md) Add M720 config name
2020-07-25 15:03:43 -04:00
pixl
34b8047360
Refer to receiver from receiver devices
2020-07-20 00:25:04 -04:00
pixl
1056dfa032
Don't use DeviceStatus on unifying devices
2020-07-20 00:07:35 -04:00
pixl
78c0788be6
Fix bad removeDevice map check
2020-07-19 23:48:24 -04:00
pixl and GitHub
6d7d91cc20
Merge pull request #91 from rumesh986/master
...
add M590 to list of tested devices
2020-07-19 02:06:55 -04:00
pixl
168c28d1e4
Wait for device to initialize before addDevice
...
For some reason, hidpp20 device names were badly set (e.g.
'Wireless Mouse MWireless' instead of 'Wireless Mouse MX Master').
Adding a 100ms delay to addDevice seems to have fixed it.
2020-07-19 01:35:26 -04:00
pixl
9607c32520
Fix issue where I/O would hang
...
RawDevice will now interruptRead() on pushing an event to the I/O
queue. This will prevent the listener from waiting for an event to
be received before handling an I/O request.
2020-07-19 01:22:56 -04:00
pixl
cfcdca00a0
Add DeviceStatus device feature
...
Should fix bug #66 .
2020-07-18 22:55:51 -04:00
pixl
1551c4ded0
Add hidpp20 WirelessDeviceStatus feature
2020-07-18 22:46:47 -04:00
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
0928b39e03
Add ChangeHostAction support
2020-07-15 17:43:24 -04:00
pixl
d59daf86e2
Add ChangeHost hidpp20 feature
2020-07-15 15:18:28 -04:00
pixl
f51ba0f681
Remove unused assert warnings when building Release
2020-07-15 13:27:21 -04:00
pixl
9b3183c791
Add version.txt for tarballs
2020-07-15 13:23:11 -04:00
pixl
b75b9794d1
Fix versioning system
2020-07-15 13:22:05 -04:00
pixl and GitHub
c83739beb9
Merge pull request #99 from PixlOne/refactor
...
Refactor LogiOps
2020-07-15 09:29:13 -04:00
pixl
56d10898fb
Print CIDs on device connect
2020-07-15 00:26:39 -04:00
pixl
018bdb83ad
Add ability to ignore devices
2020-07-14 16:21:14 -04:00
pixl
497ec07bdf
Properly set PID on dummy connect events
2020-07-14 16:20:58 -04:00
pixl
89b9829b84
Fix bug where GetPairingInfo would be offset by -1.
2020-07-14 16:20:06 -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
825967b140
TODO cleanup: Add PowerSwitchLocation enum
2020-07-13 22:42:23 -04:00
pixl
944a6419b4
Remove unused DeviceFinder.cpp
...
How'd that get in here anyways?
2020-07-13 22:06:15 -04:00
pixl
3659ec25fb
Add additional DJ report descriptor
...
Should fix invalid DJ reports in #100 .
2020-07-13 22:04:50 -04:00
pixl
a2718d9023
Fix undetected CIDs
2020-07-13 15:29:40 -04:00
pixl
0f60c3896c
Fix usbhid-dump SIGSEGV on #100
2020-07-13 15:12:28 -04:00
pixl
dde2993223
Fix crashes when logid starts as root
...
If logid scans every device, it will either SIGSEGV or not work at all.
This commit should fix bug #100 .
2020-07-13 01:14:15 -04:00
pixl
405b314103
Add GitHub Actions
2020-07-12 21:09:37 -04:00
pixl
8f073d66c3
Remove unused dependencies
2020-07-12 16:21:26 -04:00
pixl
4ce76f5927
Listen for events on receiver device on timeout
...
Previously, if a receiver device didn't respond during the initial scan,
logid would not recognize it until it sent a wakeup/connect event.
This makes it so if the device times out, logid will listen for the next
event from the device and try detecting it. (e.g. shaking the mouse will
make it become detected)
2020-07-12 16:16:50 -04:00
pixl
1a056a1ecf
Add mutex for events on Receiver
2020-07-12 16:16:50 -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
9ad8ce0fea
Remove README.md warning
2020-07-12 16:16:50 -04:00
pixl
214bbbecbc
Remove unused files
2020-07-12 16:16:47 -04:00
pixl
b00b4645e4
Add ChangeDPI action
2020-07-12 16:16:25 -04:00
pixl
949a1ee283
Add CycleDPI action
2020-07-12 16:16:24 -04:00
pixl
21b7455919
Add NullAction support
2020-07-12 16:16:24 -04:00
pixl
4117d71c9d
Add NoPress gesture mode
2020-07-12 16:16:24 -04:00
pixl
10bb10e5c5
Add Axis gesture
2020-07-12 16:16:24 -04:00
pixl
ecfd03fd21
Add OnInterval/OnFewPixels gesture
2020-07-12 16:16:24 -04:00
pixl
de8e453bd3
Fix deadlock issue
...
RawDevice would deadlock in some situations because I/O occured while
the listener was turning on. This also seems to have fixed logid
sometimes not detecting devices on receivers.
2020-07-12 16:16:24 -04:00
pixl
0fbeb1e3c9
Add Gesture support
...
Only supports OnRelease right now. Also, some bugs were spotted while
writing this:
- Sometimes deadlocks on startup (cause unknown)
- Sometimes valid CIDs will be unknown (bug may have been fixed?)
2020-07-12 16:16:24 -04:00
pixl
41049deb35
Fix compiler warnings
2020-07-12 16:16:24 -04:00
pixl
d478ef3309
Add error check for bad action type
2020-07-12 16:16:24 -04:00
pixl
1f3fa53721
Add workqueue system
2020-07-12 16:16:24 -04:00
pixl
02d361b541
Add ToggleHiresScroll action
2020-07-12 16:16:24 -04:00
pixl
77f4240ec7
Add ToggleSmartShift action
2020-07-12 16:16:24 -04:00
pixl
bc8f1a983a
Add configurable I/O timeout
2020-07-12 16:16:24 -04:00
pixl
055d136b09
Add HiresScroll device feature
2020-07-12 16:16:24 -04:00
pixl
d6f5c35983
Add HiresScroll hidpp20 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
0b87d3c664
Fixed bug: odd devices would fail Root GetFeature
...
Some devices throw an hidpp20::Error InvalidFeatureIndex when Root
GetFeature is called with some features (e.g. 0x1b04) as the parameter.
Since Root is a required feature in the HID++ 2.0 protocol, this error
can safely be ignored and treated as an UnsupportedFeature.
Fixes bug in #20 where the Logitech PRO headset would not work.
2020-07-12 16:15:48 -04:00
pixl
cd14d8dd27
Add thanks to README.md
2020-07-12 16:15:48 -04:00
pixl
3129cda581
Add hidpp20 ReprogControls support
2020-07-12 16:15:48 -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
5abf777e00
Add SmartShift hidpp20 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
181be50f88
Use unique pointer for global device manager
...
Changed from raw pointer to a unique_ptr, also renamed from finder to
device_manager
2020-07-12 16:15:48 -04:00