Programming a Morse Code straight key

Once upon a time using IDE 1.01:

String numeric output with V-USB HID - Community / Exhibition / Gallery - Arduino Forum

Have not played with V-USB in years and not since IDE 1.5x