Commit Graph

344 Commits

Author SHA1 Message Date
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
1dd6dbfe02
Move Buttons into their own class 2022-01-20 22:02:29 -05:00
pixl
6614702929
Merge pull request #292 from PixlOne/config_rework
Rework config interface
2022-01-20 01:33:09 -05:00
pixl
9b94fad0a6
Use new config interface 2022-01-20 01:29:18 -05:00
pixl
c421affe25
Add config schema 2022-01-11 20:33:26 -05:00
pixl
fbc3a1a472
Added refined config struct templates 2022-01-11 20:33:03 -05:00
pixl
62095a3e37
Require C++20 2022-01-11 18:01:14 -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
f23326c660
Complete DeviceManager interface 2022-01-08 22:32:49 -05:00
pixl
9f4979ba59
Updated ipcgull version 2022-01-08 21:04:13 -05:00
pixl
436729b07b
Properly handle full workqueue 2022-01-08 16:29:17 -05:00
pixl
918ea63755
Add Device and Receiver signals to DeviceManager 2022-01-08 00:05:32 -05:00
pixl
daa8c37c7d
Change default I/O timeout to 400ms 2022-01-07 23:40:29 -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
23291ec382
Add ipcgull submodule and require glib 2022-01-07 02:37:17 -05:00
pixl
8e87b73d7d
Merge pull request #284 from damageboy/master
Resolve majority of clang+libstdc++ warnings
2022-01-06 16:26:39 -05:00
damageboy
7424c4fe94 Resolve majority of clang+libstdc++ warnings 2022-01-05 13:01:00 +02:00
damageboy
aa4c895c1e add .editorconfig to ease contribution by external devs 2022-01-05 12:53:55 +02:00
pixl
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
53c9c0a5e4
Merge pull request #277 from mellolucas/patch-1
Added MX Ergo Config Name
2022-01-02 02:06:39 -05:00
Lucas Mello
02c0d03c99
Added MX Ergo Config Name
The space at the end was not placed by mistake. It is necessary to have its config recognized. As per https://github.com/PixlOne/logiops/issues/65#issuecomment-723559895
Config example here: https://github.com/TobiasDev/dot-files/blob/master/logiops/logid.cfg
2021-11-22 16:41:44 -03:00
lazarin
f9bcf5b143
Add M500s to the list of supported devices
Add M500s to the list of supported devices
2021-09-28 12:09:51 +03:00
pixl
6bb4700009
Merge pull request #246 from wooparadog/master
Fix systemd denepdency
2021-05-27 10:02:15 -04:00
Haochuan Guo
5947cc939e
Fix systemd denepdency
Let logiops start after multi-user.target is reached, and change it as a dependency to `graphical.target`. Fix #204
2021-05-16 13:30:48 +08:00
Naman Sood
7b297fc49f
Fix index underflow causing segfault on DPI change (#241)
* Fix index underflow causing segfault on DPI change

* Stop over-allocating sensor lists
2021-05-08 18:06:17 -04:00
pixl
990f923e7a
Add colon to Gentoo in README.md 2021-04-24 01:49:27 -04:00
pixl
febbe3b5de
Merge pull request #218 from ConiKost/gentoo
Add Gentoo Linux to README.md
2021-04-24 01:47:34 -04:00
Conrad Kostecki
0a79f571b9 Sort Linux 2021-03-22 11:35:39 +01:00
Conrad Kostecki
d299853c96 Added Gentoo Linux 2021-03-22 11:34:16 +01:00
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