I have an Arduino Leonardo set up to work as a mouse and keyboard emulator. It receives commands from an IR remote to move the mouse or keyboard arrow keys. It had been working for many many months. Suddenly for some reason it quit. This is not a Windows 7 64 bit PC. I checked Device Manager and it looked like a driver error. Tried various things to get the driver to reinstall. Eventually I did get Windows to recognize it as Arduino Leonardo but apparently it is still not recognizing it as a HID.
I had made some changes to the boards.txt and other changes to the IDE to support the Adafruit Trinket and Gemma which I thought could perhaps mess things up so I did a complete uninstall and reinstall of the IDE 1.0.5. I also recently installed the Atmel Studio package but never got around to trying to use it as an IDE. Just as a precaution I completely uninstalled that.
Despite removing Atmel Studio completely and completely uninstalling and reinstalling the regular Arduino IDE it still isn't recognizing the device as an HID.
The Leonardo itself seems to be working fine. I can upload sketches to it in the LCD display screen is working just fine. This was a working system until recently. I used it frequently for many months but now it just doesn't move the mouse. At one point while trying to reinstall drivers etc. it did briefly worked as a mouse after a reboot but then the driver installation failed and it quit working as a mouse. I tried changing USB ports although there's nothing wrong with the particular port I'm using. It's one that I had been using on this device for many months.
Any suggestions on how to completely, completely, completely remove everything Arduino related especially in regard to drivers so I can start from scratch and hopefully it will work them.