Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use libinput library instead of libinput debug-events #60

Open
Hikari9 opened this issue Mar 6, 2019 · 1 comment
Open

Use libinput library instead of libinput debug-events #60

Hikari9 opened this issue Mar 6, 2019 · 1 comment
Labels

Comments

@Hikari9
Copy link
Owner

Hikari9 commented Mar 6, 2019

This is a feature proposal to use libinput C library itself instead of parsing libinput debug-events.

@Hikari9 Hikari9 added the feature label Mar 6, 2019
@Hikari9
Copy link
Owner Author

Hikari9 commented Mar 8, 2019

This is a mirror of the source code for libinput-debug-events CLI command:

https://github.com/wayland-project/libinput/blob/master/tools/libinput-debug-events.c

We can improve our C++ library by:

  1. Including libinput directly to source with #include <libinput.h>
  2. Narrowing down input device with LIBINPUT_DEVICE_CAP_GESTURE
  3. Using libinput_event* type to capture gesture events instead of matching regex

@dchenk dchenk mentioned this issue Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant