I'm using Seil to remap the Caps Lock button.
Following by instruction I've deactivated Caps Lock by setting it to ‘No Action’ in System Preferences → Keyboard → Modifier Keys.
Then went to Seil's ‘Change the caps lock key’ and set the keycode to 53. Now it works as Esc key and it's functional.
Now I want to make the Esc key work as Caps Lock.
In Karabiner in ‘Change Escape Key’ section I've checked ‘Escape to CapsLock’ checkbox. However it works in completely the wrong way. By pressing Esc button it changes capitalisation, but as well as by pressing Shift+Esc buttons. Also in that mode the Caps Lock button works as a usual button by changing capitalisation.
But if I change it to ‘Shift-Escape to CapsLock’ box then everything works except for one thing, I have to press Shift+Esc to change capitalisation.
So it's not actually a swap between the Esc and Caps Lock buttons.
Am I missing something? How do I fix this problem?