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

Add event number input and Fake axis check #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kiurem66
Copy link

@kiurem66 kiurem66 commented Oct 24, 2022

I think it might be useful to let the user input the event number if he already know.

Also some controllers use Axis to represent digital input using 1 and -1 as max value. I added a check for this edge case but i think it might be useful to change the +/-20 threshold to an incremental threshold.

@kiurem66 kiurem66 closed this Oct 24, 2022
@kiurem66 kiurem66 changed the title Add event number input Add event number input and Fake axis check Oct 24, 2022
@kiurem66 kiurem66 reopened this Oct 24, 2022
@dperelman
Copy link
Owner

Thank you for your contribution.

The event number can already be accepted as a command-line argument, so I'm not sure why you added another way to enter it.

@@ -17,7 +17,7 @@ def list_active_evdev():
try:
devices.append(evdev.device.InputDevice(dev))
except (IOError, OSError):
# Don't have permissions for that device, ignore it.
Copy link
Owner

Choose a reason for hiding this comment

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

Accidental change?

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