Pendant macro buttons "Macro-1" through "Macro-10" have their own macro .

They call a macro subroutine from macro.cnc file. You can define subroutines "xhc_macro_1" through "xhc_macro_10" in your macro.cnc file.

For example, if we add this to the bottom of the macro.cnc file:

Sub xhc_macro_1
  gosub user_1

then subroutine user_1 (User macro 1) will be called when we press Fn+Macro-1 on the wireless pendant.