Note: these instructions were tested on Windows 10 v1709. They might also work for other gamepad controller issues on Windows 10.
I was trying to get my old Cobalt Flux setup on a newer Win10 laptop. Windows 10 quickly recognizes the device when it first gets plugged in. It will use the default HID gamepad controller drivers for it. However, looking in the Device Manager details for the device reveals some device events that don't bode well ("migration failed"). Trying to map input in e.g. Stepmania fails miserably.
A quick Google of "cobalt flux Windows 10" reveals results like this: https://www.stepmania.com/forums/input-adapters-and-controllers/show/6511
After some messing around, though, I got it working!