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 SpacePilot DeviceSpec #4

Merged
merged 1 commit into from
Oct 15, 2022
Merged

Conversation

bburky
Copy link
Contributor

@bburky bburky commented Oct 15, 2022

I added a DeviceSpec for my SpacePilot device. Tested on Linux.

This device has an LCD screen, but no LEDs. I set led_id to None to reflect this. It seems like led_id is currently unused (looks like easyhid has no output support, where the original repo used pywinusb instead?). If you add back LED support, just make sure to test if led_id is None before using it, shouldn't be an issue.

I wasn't sure if there was any particular order of the buttons, I put them in order of each bit and byte. The comments reflect the labelling of the physical buttons.

I copied the axis mappings from the SpacePilot Pro and tested the motion of each axis to verify it's correct.

@JakubAndrysek JakubAndrysek merged commit 8fd8033 into JakubAndrysek:master Oct 15, 2022
@bburky bburky deleted the patch-1 branch October 15, 2022 22:58
@JakubAndrysek
Copy link
Owner

The new version is published: https://pypi.org/project/pyspacemouse/1.0.5/

Thank you

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