How does it work with capslock key on normal USB keyboard?
> 1. switch languages when capslock is press and released
correct
>2. type in upper case during capslock is pressed and hold
no, in the mode when caps is using for lang switching you need to press shift+CAPS to type in upper case and then again press shift+CAPS to disable.
>You can comment out a line with '#define LOCKING_RESYNC_ENABLE' in adb_usb/config.h to disable it.
that, actually, helped me! with this commented out CAPS with lang switching works as expected, pressed (locked) - lang2, unlocked - lang1. Thank you!!

the only thing that i noticed: it does not switch the layout when shift is pressed and in the same moment im pressing caps key - no reaction at this point.
Thank you!