I am creating a KMDF driver for a device. But, then I need to add two other drivers mouse and keyboard.
So, my question is if it is that in a single driver I can put in the descriptor for the three devices or the correct thing is to create a driver with its descriptor for each device.
There is so much information on the internet and ways to implement it that I don't know what is correct or at least reasonable.
Mouse, keyboard and other -> a driver (descriptor [mouse, keyboard and other])
Create by each one separately.
- mouse -> driver1 (mouse descriptor)
- keyboard -> driver2 (keyboard descriptor)
- other -> driver3 (other descriptor)
How should I do?