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

Update config_sample.h #44

Merged
merged 2 commits into from
Jul 8, 2024
Merged

Update config_sample.h #44

merged 2 commits into from
Jul 8, 2024

Conversation

evolventum
Copy link
Contributor

done with full button list of byteIDs for SpaceMouse Pro Wireless model

done with full button list of byteIDs for SpaceMouse Pro Wireless model
@AndunHH
Copy link
Owner

AndunHH commented Jul 8, 2024

Did you change HIDMAX BUTTONS in https://github.com/AndunHH/spacemouse/blob/main/spacemouse-keys%2FhidInterface.h#L5 to 32?
Because you found a value bigger than 24…

@AndunHH
Copy link
Owner

AndunHH commented Jul 8, 2024

I checked it in the 3Dconnexion trainer and it is working with my small update.

Thanks for finding out all those bits!

@AndunHH AndunHH merged commit 930ea19 into AndunHH:main Jul 8, 2024
@evolventum
Copy link
Contributor Author

I checked it in the 3Dconnexion trainer and it is working with my small update.

Thanks for finding out all those bits!

I just take information from this place https://github.com/openantz/antz/wiki/3D-Mouse#developers
There are standard button list for many modern 3dx devices and bit mask for our SMPro model

Bit I didn't understand why 3dx driver receives two HID packet bytes with eventID 1 and 2 (older Logitech scheme) but didn't see any movements when controller transfer one big packet XYZrXrYrZ (Translate & Rotate) with eventID = 1

AndunHH added a commit that referenced this pull request Jul 9, 2024
@AndunHH
Copy link
Owner

AndunHH commented Jul 9, 2024

Bit I didn't understand why 3dx driver receives two HID packet bytes with eventID 1 and 2 (older Logitech scheme) but didn't see any movements when controller transfer one big packet XYZrXrYrZ (Translate & Rotate) with eventID = 1

Have you tried and changed the coding also in the hid descriptor to one big report#1 instead of the actual report id#1 and id#2 with only translation and only rotation?

As it is working now, I see no cause to change the working behavior. Do you?

@evolventum
Copy link
Contributor Author

Bit I didn't understand why 3dx driver receives two HID packet bytes with eventID 1 and 2 (older Logitech scheme) but didn't see any movements when controller transfer one big packet XYZrXrYrZ (Translate & Rotate) with eventID = 1

Have you tried and changed the coding also in the hid descriptor to one big report#1 instead of the actual report id#1 and id#2 with only translation and only rotation?

As it is working now, I see no cause to change the working behavior. Do you?

yepp. tried changing code in hidInterface.h and in old version hidInterface.cpp where it was possible (without cases) - driver didnt see any motion. but its OK, logitech-style works perfect!

@AndunHH
Copy link
Owner

AndunHH commented Jul 9, 2024

Ok! Very intersting, thanks for the test.

Then we stay as it is.

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