“Does the Razer Keyboard have Macro Software so that if you press “r” it sends “12342” to Windows application?”
Yes. Pressing “r” on my keyboard tells the razer software to execute the macro which I built inside their gui macro builder. Any text field I have tested (windows explorer, chrome browser, etc.) receives “12341” when i press the assigned key “r”. It also mimics the delays. You will see 1 then 2 then 3 then 4 then 1 appear in sequence.
I tried emulating this within MTP using the output delays and key down/up events

With this configuration, nothing happens when I play note 69. It does not output any of the numbers corresponding to the key down/up events in ANY text box in ANY program. However, when I play note 67 it outputs “l” just fine. My WASD movement, shown below, works exactly as intended.

If I play note 4, bome will output “w” continuously until the note off event, in any text box as well as any game I have tested. The issue with the output of the 12341 macro is coming from the output delays if I were to guess.
I can make a video of what happens if it will help deduce the problem.