Well, you can already use an app like Joy2key to emulate the arrow keys or any other keyboard press with a joystick / joypad for every game in your PC. So I assume that if you connect a dance pad to the PC it should already work even without modifying the game, because at the end a dance pad basically works the same than a normal joypad.