Option to Not include all the USB libraries (Leonardo & compatibles)

BryceBeamer:
I tried your fix as I am working on a arduino/android project and I still have the device showing up as a keyboard to the device. I am using a mac btw. Has anyone had any luck?

I've just used this fix to disable HID and it definitely removes the HID endpoints when attached to an OS X system. I don't have an android device around to check it out on that, but I don't see why it would be different.

After you make this change, you have to rebuild the Arduino distribution (using "ant"), then run the modified IDE (using "ant run"), and then rebuild your sketch in the new IDE.