Dear,
I’ve spent the last 2 weeks testing some functionnalities of the WDF and now I’d like to start again from scratch my driver because it seems that the design choices I made are not good at all. I’m a total beginner, and I’d like you to advice me the best design for the following prerequists, as well as pointing the resources that would help me starting such a project.
The hardware :
- The hardware I’m working on exposes multiple HID interfaces : keyboard, mouse, joystick, custom HID raw interface (sending all the raw data from the sensors), and an in/out command interface.
- When plugging the device in Windows I end up with multiple things in the properties of my device : a USB Composite Device, 5 USB input device, 1 HID keyboard, 1 hid mouse, 1 hid game controller, and 2 hid compliant devices.
The device has to work without a driver. It has basic functionnalities that works on any OS using the HID interfaces.
My aim is to extend these functionnalities with mapping capabilities : I’d like from the raw data and a user configured mapping table to be able to answer mouse/keyboard/joystick read requests.
Doron who answered most of my posts advices me to look into developping a custom hid miniport. This sounds good but I’ve got some troubles figuring out a few things, and understanding the mechanics behind the miniport :
- What’s the job of a miniport ?
- Is it the miniport that will expose itself these interfaces ? do I need to “uninstall” the basic HID ones when installing the miniport ?
- Is there any sample (WDF if possible) I could use to start ?
- Is it something, as a begginer, I could possibly do in 30 working days time ?
It would be very helpfull if you could answer one or more of my questions, give me advices or just a starting point for my research.
Best regards,