I want to make a device for USB which is connected through usb to PC and offers an usb port. The device should have a button which ejects (in Windows) the device plugged at the port of the device.
After some research... First I wanted to solve this problem through a C# program- but I really have no idea how to access through C# on "my button". (the project's code isn't available anymore-if you know where I could get it-I would be really really happy.)
So I did some more research... now I plan to use the WinAPI in combination with some C to accomplish this...(writing a device driver using the KMPF(Kernel module of windows).
→But: I'm completly new to this.
How should I start?
Any suggestions/links which microcontroller would be good for this?
Is it possible to use the WinAPI (KMPF) to access on hardware input/my device's button?