KurtE
Senior Member+
Hi @defragster - With that joystick, hard to say what the mode button does? Maybe it changes the configuration of messages to something specific for some driver or????
As for Mouse - using the USBHOST_PRINT_DEBUG did not show additional information? I assume it showed all of the debug stuff, like Here is some output running with HP mouse...
The Wheel data is sort of strange, it keeps a positive or negative value depending on how far/fast you spin wheel, then when you stop, it will reset back to zero. Also this mouse did not have a horizontal scrolling like some of the others I have. And on this one pressing the wheel down gives you button 3...
Wonder if I need to look/debug another one?
As for Mouse - using the USBHOST_PRINT_DEBUG did not show additional information? I assume it showed all of the debug stuff, like Here is some output running with HP mouse...
Code:
Input, total bits=16
usage = FF000040 sdata = 0
usage = FF000041 sdata = 0
begin, usage=10000
type= 6
min= -127
max= 127
reportcount=1
usage count=1
Input, total bits=8
usage = 10038 sdata = -2
begin, usage=10000
type= 6
min= -32767
max= 32767
reportcount=2
usage count=2
Input, total bits=32
usage = 10030 sdata = 0
usage = 10031 sdata = 0
, mouseY = 0, wheel = -2, wheelH = 0
HID: 0 - 00 01 00 00 01 00 00 00
begin, usage=10000
type= 2
min= 0
max= 1
reportcount=3
usage count=255
Input, total bits=3
usage = 90001 data = 0
usage = 90002 data = 0
usage = 90003 data = 0
begin, usage=10000
type= 2
min= -127
max= 127
reportcount=2
usage count=1
Input, total bits=16
usage = FF000040 sdata = 1
usage = FF000041 sdata = 0
begin, usage=10000
type= 6
min= -127
max= 127
reportcount=1
usage count=1
Input, total bits=8
usage = 10038 sdata = 0
begin, usage=10000
type= 6
min= -32767
max= 32767
reportcount=2
usage count=2
Input, total bits=32
usage = 10030 sdata = 1
usage = 10031 sdata = 0
Mouse: buttons = 0, mouseX = 1, mouseY = 0, wheel = 0, wheelH = 0
HID: 0 - 00 04 00 00 04 00 00 00
begin, usage=10000
type= 2
min= 0
max= 1
reportcount=3
usage count=255
Input, total bits=3
usage = 90001 data = 0
usage = 90002 data = 0
usage = 90003 data = 0
begin, usage=10000
type= 2
min= -127
max= 127
reportcount=2
usage count=1
Input, total bits=16
usage = FF000040 sdata = 4
usage = FF000041 sdata = 0
begin, usage=10000
type= 6
min= -127
max= 127
reportcount=1
usage count=1
Input, total bits=8
usage = 10038 sdata = 0
begin, usage=10000
type= 6
min= -32767
max= 32767
reportcount=2
usage count=2
Input, total bits=32
usage = 10030 sdata = 4
usage = 10031 sdata = 0
Mouse: buttons = 0, mouseX = 4, mouseY = 0, wheel = 0, wheelH = 0
Wonder if I need to look/debug another one?