johnhw
johnhw
This is probably too late to be useful (sorry!), but you'd need to either: (a) Unravel your data, sort it, and then reshape it back into the nD tensor, if...
Alternatively, (c) if your sorting doesn't require a fully custom comparator, but you can instead map from some space (e.g. row vectors) to scalars (as in the row sum example),...
Thanks for the investigation! I've updated with a commit that has an extra HID entry for 0xC631.
Yes, it should be easy enough. I'll make some changes to support multiple device types. I think the data encoding (or at least the channel IDs used) might be different...
OK, the latest version (0.1.5) can support multiple devices. We just need to work out what the format for the Wireless device is. If you run the [raw_data.py](https://github.com/rene-aguirre/pywinusb/blob/master/examples/raw_data.py) script from...
Can you run the raw_data.py script mentioned above (from the pywinusb package) to dump the HID stream while you adjust the SpaceMouse? If you adjust the mouse on each axis...
@PalantirWielder Yes, very happy to have this added. Please make a PR. I have just modified the code (1c815eb) to make the button state be a list of (binary) integers,...
Thanks for the PR! I will investigate the SpaceNavigator scaling issue on my device -- perhaps the device axis range is different on different versions or can be user modified?
Hmm, can't see why the SpaceNavigator would report these values -- mine maxes out at [-350.0, 350.0], and so scales to exactly [-1.0, 1.0] with the default scaling. The latest...
@aephchw you might want to look at the automatic branch. It will autodetect the device capabilities from the HID usage pages for any detected device. Unfortunately, I can't get buttons...