Thanks Guido,
I have the following report descriptor for the interface 2(Kbd+Mouse)
I also though of removing some unused mouses drivers and now it seems to do some things (bad ones but it is a beginning) Light a the end of the tunnel....
;digits and mouse try
HidReportdescriptor2:
dw 0x05 ,0x01 ; USAGE_PAGE (Generic Desktop)
dw 0x09 ,0x06 ; USAGE (Keyboard)
dw 0xA1 ,0x01 ; COLLECTION (Application)
dw 0x85 ,0x01 ; REPORT_ID (1)
; position of line below is very critical
dw 0x05 ,0x07 ; USAGE_PAGE (Keyboard)
dw 0xA1 ,0x00 ; COLLECTION (Physical);;;;;;;;;;;;;;;;;;;;;;;;;;;;
dw 0x19 ,0x00 ; USAGE_MINIMUM (Reserved (no event indicated))
dw 0x29 ,0x45 ; USAGE_MAXIMUM (Keyboard F12)
dw 0x15 ,0x00 ; LOGICAL_MINIMUM (0)
dw 0x25 ,0x45 ; LOGICAL_MAXIMUM (69)
dw 0x95 ,0x01 ; REPORT_COUNT (1)
dw 0x75 ,0x08 ; REPORT_SIZE (8)
dw 0x81 ,0x00 ; INPUT (Data,Ary,Abs)
dw 0xC0 ; END_COLLECTION
dw 0xA1 ,0x00 ; COLLECTION (Physical)
dw 0x05 ,0x01 ; USAGE_PAGE (Generic Desktop)
dw 0x85 ,0x02 ; REPORT_ID (2)
dw 0x09 ,0x02 ; USAGE (Mouse)
dw 0x09 ,0x30 ; USAGE (X)
dw 0x09 ,0x31 ; USAGE (Y)
dw 0x35 ,0x81 ; PHYSICAL_MINIMUM (-127)
dw 0x45 ,0x7F ; PHYSICAL_MAXIMUM (127)
dw 0x15 ,0x81 ; LOGICAL_MINIMUM (-127)
dw 0x25 ,0x7F ; LOGICAL_MAXIMUM (127)
dw 0x75 ,0x08 ; REPORT_SIZE (8)
dw 0x95 ,0x01 ; REPORT_COUNT (1)
dw 0x81 ,0x06 ; INPUT (Data,Var,Rel)
dw 0xC0 ; END_COLLECTION
dw 0xC0 ; END_COLLECTION
Endof2:
Double2 equ Endof2 - HidReportdescriptor2
LenOFdescr2 equ Double2/2
;One byte at a time for key board entry ,followed by a zero (simulated release of key)
;For the mouse it tests the value positive or negative relative and send a 1(pos) a 0Xff(neg) or a ;0;(no move)but nothing moves except that my sniffer sometimes now registers a mouse data ......