Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added complete SpaceMouse Compact support, including rotational axes and buttons.
Vendor ID: 9583
Product ID: 50741
On the way, I made the script run on use AHKHID's VID/PID functions rather than dll calls in
_getRAWdevices
. On Windows 10 it didn't seem to be able to read the HID devices properly, though AHKHID had no problems with it.Also made the watchdog only run when compiled, so that the script can be tested without errors as an AHK file.
Closes #4, closes #9
I don't have a SpaceMouse Enterprise myself but if that one has the same issue with the rotational axes, send me a message and I can probably fix it without too much issue.
This PR does not include firereverie's PR for SpaceMouse Pro Wireless (50737) Button Support, and to merge them you'll have to increment the array length to 11 where it currently says
Dim $aDeviceButtons[10][4]
in both of our PRs. The rest should be straightforward.Tested with the current versions of VJoy (2.1.9.1) and 3DxWare (v10.9.3 b671) on Windows 10