Your config using DM780 software (press "F8") is as follows;
[of course, you need to select the comport that your using which may or may not be com1 as shown below].
You also need to set your radio so that they cw socket is used as a normal / standard key.