-
Notifications
You must be signed in to change notification settings - Fork 190
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
Make push-to-talk work at every X11 platform. #1328
base: develop
Are you sure you want to change the base?
Conversation
static bool linux_check_ptt(void) { | ||
#ifdef HAVE_EVDEV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like inline ifdefs
Plus, it's not linux_check_ptt if it's running on bsd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, I forgot about renaming the function
src/xlib/main.c
Outdated
/* First, we try for direct access to the keyboard. */ | ||
if (ppt_keyboard_handle()) | ||
return true; | ||
else if (!ppt_keyboard_handle_unknown) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1TBS
Needs { }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 2 files at r1, 1 of 1 files at r3.
Reviewable status: 2 files need 1 more reviewer, 2 open discussions remaining, missing Admin LGTM at current revision.
@GrayHatter please remind me the link to branch, I can't find it. |
DragonFly BSD changed location for evdev input.h file, FreeBSD has different location from the beginning. Note that DragonFly BSD is compiled without evdev support by default, but it still has that header.
This change is