# Comments can be marked with both '#' and '!' symbols.
! Everything after them till new line is a comment.

# Include resource files with yawerty keyboard layout for koi8 and win1251
include "keymaps/yawerty-koi8.rc"
include "keymaps/yawerty-cyr.rc"

# Define groups
group Test = xterm*,Netscape except emacs
group Emacs = Emacs*

#
# Define your own keymaps. ORIGINAL is a keyword for the keymap defined at
# the time of xkeysw startup.
#
keymap MyKeymap ORIGINAL = {
    keysym CapsLock = /Koi8 CapsLock
    Alt_L keysym Shift_L = /MyWin1251
    group Emacs keysym CapsLock = Execute CapsLock
}

keymap MyKoi8 ("Koi8:") yawerty-koi8 = {
    keysym CapsLock = /MyKeymap CapsLock
    group Emacs keysym CapsLock = Execute CapsLock
}

keymap MyWin1251 ("Win1251:") yawerty-cyr = {
    Alt_L keysym Shift_L = /MyKeymap
}
