What's the order of USB Cables in the male connector of Apple Keyboard with n. Keypad? The male connector end of my keyboard, Apple Keyboard with numerical keypad, got squeezed beyond repair. 

I chopped off that bit and newly stripped the 4 leads: Red, Black, Green &amp; White/Grey. 

I'd like to solder these to a new connector. 

I'm wondering:


Is there a "standard" for the order of USB cables globally or for Apple keyboards?
What's the right order in this product's case?
USB pinouts are universal.  So, once you have the IEEE standard used, you should be able to resolder a new connector with no problem.  In this case, the USB connector used on the Apple Keyboard is a USB v1.1 connector.



I have included the pinouts for USB 1.1/2.0 below for reference.



Short of that, I am sure you could use the continuity function on a multi-meter on a USB cable to figure out which pin goes where