Commit Graph

212 Commits

Author SHA1 Message Date
pixl
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
214af3d6bb
Merge pull request #215 from PixlOne/fix/thumbwheel
Fix ThumbWheel feature direction bug
2021-03-13 19:30:30 -05:00
pixl
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
Oskar Haarklou Veileborg
f0de58e76e Fix missing release of ThumbWheel touch 2021-03-02 12:20:01 +01:00
Nicolas De Amicis
7462a11a5a
Update Device.cpp 2021-02-03 16:38:43 +01:00
Alex Reece
a0687c8f18
Added Fedora dependancy install commands (#155)
* Added Fedora 33 dependancy install commands

Tested on a relatively fresh install of Fedora 33, gcc-c++ included as no c++ compiler by default, feel free to remove if it fits better with the pattern of not including one in the previous instructions, however it did trip me up for a few minutes so may be worth leaving in.

* Remove Fedora Version

* Update README.md

Changed systemd-devel1 to systemd-devel (typo)
2021-01-07 18:38:12 -05:00
pixl
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
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
max
1f02882971 Enable axis in virtual_input device only when needed 2020-12-21 11:50:04 +01:00
pixl
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
max
15de10344a In error case set device and ui_device to nullptr 2020-12-15 13:59:06 +01:00
max
8280bc2505 Enable some keys by default and enable more on request
if the user chooses to use such keys in the config.
2020-12-14 22:10:07 +01:00
max
f8eb77cad7 Register keys for keypress only when needed
there seems to be an issue that with too many registered events some window
manager cannot recognize the device as input device with systemd 247.

PixlOne#166
2020-12-14 20:51:47 +01:00
Kristóf Marussy
911e91eeeb
Enable fewer EV_KEY events in InputDevice
Fixes #166

Starting with systemd 247 (?), desktop environments fail to recognize
the virtual input device if it has too many enabled libinput events.

It seems like KEY_ROTATE_LOCK_TOGGLE as the highest enabled event is a
good limit. This is the highest evdev event mapped by xkb, so the
usefulness higher events is limited, anyways.
2020-12-14 19:49:51 +01:00
Kristóf Marussy
c261b6582c
Cleanup in InputDevice 2020-12-14 19:49:28 +01:00
Andrew Shark
fa020e5f20
Filled in config name for MX Vertical 2020-11-30 11:05:21 +03:00
pixl
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
ec8115634d
Revert "Enable compatibility with libconfig older than v1.5" 2020-11-23 15:42:29 -05:00
pixl
1d6a89881f
Merge pull request #157 from abraha2d/master
Enable compatibility with libconfig older than v1.5
2020-11-22 21:02:41 -05:00
Kevin Abraham
28a93b2df4 Enable compatibility with older versions of libconfig (such as the one shipped with RHEL/CentOS 7) 2020-11-22 12:12:29 -05:00
pixl
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
Gavin Lloyd
132ae7025a
Add MX Anywhere 3 to TESTED.md 2020-10-08 16:54:39 -07:00
pixl
d1d8c49021
Merge pull request #136 from AvdN/patch-1
package install instructions for Solus
2020-09-28 01:43:19 -04:00
Anthon van der Neut
b728f36ff8
package install instructions for Solus 2020-09-27 09:54:08 +02:00
pixl
951661dc62
Merge pull request #127 from KnowYourselves/master
Add MX Anywhere S2 to TESTED.md
2020-09-06 03:05:45 -04:00
Raúl Álvarez
cfbf7cd55a
🎉 Added MX Anywhere S2 2020-09-06 02:02:42 -03: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
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
Leonardo Ventura
0614f27c62 docs: Fix instruction to enable daemon
Change `start` to `enable` on systemctl command instruction to enable
daemon at boot. Also add instruction to enable and start at the same
time.
A few other minor improvements on readability.
2020-09-01 10:58:08 -03:00
Leonardo Ventura
eeefa30b0a docs: Update config example to match hidpp20 name 2020-09-01 10:56:53 -03: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
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
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
Michail Terezakis
3561b1f487 Add ThresholdGesture. 2020-08-16 19:57:31 +03:00
andy-shi88
5800b5b954
add m590 logitect device name 2020-08-16 12:57:47 +08:00
pixl
6ea65601f3
Fix typo in HiresScroll 2020-08-02 02:34:58 -04:00
pixl
c3419b9468
Align columns in TESTED.md 2020-07-25 15:09:14 -04:00
pixl
e644eb779b
Add other known device config names to TESTED.md 2020-07-25 15:06:04 -04:00
pixl
62e9863ffc
Merge pull request #110 from lambdageek/patch-1
(TESTED.md) Add M720 config name
2020-07-25 15:03:43 -04:00
Aleksey Kliger (λgeek)
a3987fc4d1
(TESTED.md) Add M720 config name 2020-07-25 14:54:46 -04:00
Jef LeCompte
9064ee3c72
docs: update code for config (#105)
* docs: update code for config

* docs: update config name

* fix: associated config
2020-07-24 14:25:44 -04:00
pixl
34b8047360
Refer to receiver from receiver devices 2020-07-20 00:25:04 -04:00