When using the CLI tool python returns the following:
File "common.py", line 127, in get_device
raise Exception("No HID Remapper devices found.")
common.py is looking at the results of hid.enumerate() for a device where usage_page == 0xFF00 and usage == 0x0020. When I run hid.enumerate() directly I can see two HID Remapper devices but their usage_page and usage values are both returned as 0:
The web configuration tool works as expected after adjusting permissions for the correct /dev/hidraw device.
I'm running python 3.11.2 on Debian 12 whose current python3-hid package is based on v0.9.0.post3 of the HID module. I'm using a PGA2040 board as the HID Mapper hardware.
When using the CLI tool python returns the following:
common.py is looking at the results of hid.enumerate() for a device where usage_page == 0xFF00 and usage == 0x0020. When I run hid.enumerate() directly I can see two HID Remapper devices but their usage_page and usage values are both returned as 0:
The web configuration tool works as expected after adjusting permissions for the correct /dev/hidraw device.
I'm running python 3.11.2 on Debian 12 whose current python3-hid package is based on v0.9.0.post3 of the HID module. I'm using a PGA2040 board as the HID Mapper hardware.