I am unable to properly use a standard USB mouse. Both mice I have tested work on a Windows 7 laptop, but give two different errors.
The first mouse, when connected, shows this:
USB Device Attached
PID: AE1h
VID: 2188h
Address (#1) assigned.
cfg desc: num interfaces 1
interface: interface 0, num 0, numep 1, class 3 , sub class 1
endpoint: interface 0, ep num 0, addr 81
Manufacturer : N/A
Product : USB OPTICAL MOUSE
Serial Number : N/A
Enumeration done.
This device has only 1 configuration.
Default configuration set.
Switching to Interface (#0)
Class : 3h
SubClass : 1h
Protocol : 2h
Mouse device found!
HID class started.
However, when I try out a test script I get some odd outputs:
- The left click is permanently pressed and the right and middle buttons are never.
- The Y value moves down if I move it up or left and up if I move it down or right.
- The X value appears to move up if I move up and right at the same time, while holding down one of the three buttons.
When the other mouse is connected, the axoloti just displays USB Device Attached
and then doesn't print anything else. Also, the light under the mouse (which is optical) doesn't turn on.
The axoloti is connected directly to the laptop and has nothing else connected, other than the mouse. I also don't know whether this is a problem with the axoloti patcher, the mice or the axoloti core.
Please can someone explain how to fix the problem in the hardware, or fix the code in the software!