Skip to content

Conversation

rejedai
Copy link

@rejedai rejedai commented Sep 17, 2023

Added the ability to use environment variables for configuration.

Also I added skip event checking, because otherwise the program does not allow me to use a gamepad or mouse for binding, although I have bound the corresponding buttons.

Updated README.

UPD: I figured out why it wasn't working, sudo resets Environmet variables to zero.
This works:
sudo env SKIP_EVENT_CHECK=1 EV_KEY_CODE=KEY_PAUSE XKEY_EVENT=Pause push-to-talk /dev/input/by-id/usb-keybrd-event-kbd

@Rush
Copy link
Owner

Rush commented Dec 19, 2023

@rejedai apologies for the delay in review. I like this. Would it be possible for you to refresh the PR and also look at the new mouse button support feature?

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

Successfully merging this pull request may close these issues.

2 participants