.swap_esc_capslock.kmap 56 B

1234
  1. keymaps 0-255
  2. keycode 1 = Caps_Lock
  3. keycode 58 = Escape