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

Initial touchscreen support #14

Closed
wants to merge 1 commit into from

Conversation

abihf
Copy link

@abihf abihf commented Nov 22, 2015

No description provided.

void LibinputServer::processEvents()
{
libinput_dispatch(m_libinput);

while (auto* event = libinput_get_event(m_libinput)) {
switch (libinput_event_get_type(event)) {
case LIBINPUT_EVENT_TOUCH_DOWN:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These types should be tested for and handled in their numerical order. That means LIBINPUT_EVENT_TOUCH_* events are handled after the LIBINPUT_EVENT_POINTER_* events.

@abihf abihf closed this Dec 13, 2015
@abihf abihf deleted the touch-event branch December 13, 2015 06:44
@abihf
Copy link
Author

abihf commented Dec 17, 2015

It's my new work abihf@49fb5bd

zdobersek added a commit that referenced this pull request Jan 4, 2016
@albertd
Copy link

albertd commented Jan 13, 2016

@abihf merged into master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants