Skip to content

Commit

Permalink
add absolute axis values to lookup_event_code()
Browse files Browse the repository at this point in the history
  • Loading branch information
wertarbyte committed Sep 1, 2016
1 parent f828cd0 commit 70fd833
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eventnames.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ int lookup_event_code( const char *eventname ) {
if (res == -1) res = lookup_index(KEY_NAME, eventname, KEY_MAX);
if (res == -1) res = lookup_index(SW_NAME, eventname, SW_MAX);
if (res == -1) res = lookup_index(REL_NAME, eventname, REL_MAX);
if (res == -1) res = lookup_index(ABS_NAME, eventname, ABS_MAX);
return res;
}

Expand Down

0 comments on commit 70fd833

Please sign in to comment.