How can i spoof arduino iserial number

im trying to spoof my arduino to be around 1:1 with my mouse, im just wondering, how can i spoof the iserial number in USBCore.cpp to match my mouse?

right now its: HIDGD

i want it to be: 205337554D47

D_DEVICE(0xEF,0x02,0x01,64,USB_VID,USB_PID,0x200,IMANUFACTURER,IPRODUCT,ISERIAL,1);

im on line 73 of usbcore.cpp how would i go about changing the iserial? thanks

I moved your topic to an appropriate forum category @adamabd12

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Hi @adamabd12. Which Arduino board are you using?

arduino leonardo atmega32u4

OK, then you might find the information here to be useful:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.