Hi ,
I’m currently trying to develop my own driver for a touchscreen usb
controller . ( actually got several kind of them from different
manufacturer )
they all come with drivers but :
- they not all compatible
- they dont have all options i’d like
- some of them are full of bugs
i’m new to driver development, so i first read most of Walter Oney WDM book
already but i still wondering what i need to do to start with .
i’m thinking of 2 solutions ,
- Make a MS Mouse driver filter driver .
- an USB Function Driver
i think i got all required information about those devices . they all use a
similar report packet .
some people told me to declare my devices as HID standard device , but only
1 of them can be installed as a HID device and the calibration is off .
from the USBINT Sample of Oney’s Book , i succesfully installed a function
driver for 1 of my device , and can read data from the interrupt pipe .
now i got 2 problems :
- How can i move my mouse pointer with the data i got kernel side if it’s
possible ? - The Sample use a IOCTL to wait for the interrupt and seems i can read
data using DeviceIoControl() in the user mode testing app , but each time i
write my interrupt data to my AssociatedIrp.SystemBuffer i got the BSOD ,
IRQ_NOT_LESS_OR_EQUAL .
.
i’m aware i must be missing some basics so Any advices , will be greatly
appreciated
thanks ,
Ronan .