changed from xp to windows 7 no inputs work but usb

Did you not check to see if your computer hardware was compatible with Windows 7 before installing it?
You are supposed to check for available drivers on that computer or laptop manufacturer's website.
If they don't have Windows 7 drivers for your model, that means you shouldn't install Windows 7 on it.