Hi there!
I'm an university student and i'd like to write an usb hid gamepad driver
for wince but i'm really new to both ce and driver dev, and platform builder
docs are not exacly that "for dummies" style. So i started from the CONSHID
code from wince code, it does not seems too complicated. Am i right that no
device identification is done in the code? So if i'm right it depends just on
the registry settings which driver is loaded for a device. Now it is
important from my point just because if it's right than i can use that code
unmodified just to see if it does anything whatsoever.
I built the dll and transfered it to the device but i cannot make the system
load it when i plug the gamepad in (it loads the default hid device driver)
i've tried different registry settings. And if i modify the default hid
driver dll to my dll (no other hid device is connected) the sys tries to load
it but gives an errormsg (not valid device driver or sg like that) and
prompts for a valid driver dll.
What could be the problem?
a. I do this entirely wrong.
b. I't does not load the dll as a defult hid driver because it needs other
exports than HIDDeviceAttach and HIDDeviceNotifications. So i should play
whit registry keys to load my dll exacly for the gamepad.
c. The problem also could be that although the final hw will be a custom
built device running wince4.2 but i'm trying it on my pda running win mobile
2003se (it is wince 4.21xxx)
Any help is highly appreciated,
thanks in avance: Bagoj
p.s.: sorry my english is not perfect