forked from extern/Unexpected-Keyboard
700ec23bd4
Add the ':char' syntax for defining character keys with a different symbol. This new kind of keys is used to implement Ctrl combinations in the Serbian Cyrillic layout without showing latin letters while the Ctrl modifier is activated.
77 lines
2.8 KiB
XML
77 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<keyboard name="ЉЊЕРТЗ (Српски)" script="cyrillic">
|
||
<modmap>
|
||
<fn a="а" b="а̂" />
|
||
<fn a="е" b="е̂" />
|
||
<fn a="и" b="и̂" />
|
||
<fn a="о" b="о̂" />
|
||
<fn a="у" b="у̂" />
|
||
<fn a="cursor_left" b="home" />
|
||
<fn a="cursor_right" b="end" />
|
||
<ctrl a="љ" b=":char symbol='љ':q" />
|
||
<ctrl a="њ" b=":char symbol='њ':w" />
|
||
<ctrl a="е" b=":char symbol='е':e" />
|
||
<ctrl a="р" b=":char symbol='р':r" />
|
||
<ctrl a="т" b=":char symbol='т':t" />
|
||
<ctrl a="ж" b=":char symbol='ж':y" />
|
||
<ctrl a="у" b=":char symbol='у':u" />
|
||
<ctrl a="и" b=":char symbol='и':i" />
|
||
<ctrl a="о" b=":char symbol='о':o" />
|
||
<ctrl a="п" b=":char symbol='п':p" />
|
||
<ctrl a="а" b=":char symbol='а':a" />
|
||
<ctrl a="с" b=":char symbol='с':s" />
|
||
<ctrl a="д" b=":char symbol='д':d" />
|
||
<ctrl a="ф" b=":char symbol='ф':f" />
|
||
<ctrl a="г" b=":char symbol='г':g" />
|
||
<ctrl a="х" b=":char symbol='х':h" />
|
||
<ctrl a="ј" b=":char symbol='ј':j" />
|
||
<ctrl a="к" b=":char symbol='к':k" />
|
||
<ctrl a="л" b=":char symbol='л':l" />
|
||
<ctrl a="з" b=":char symbol='з':z" />
|
||
<ctrl a="џ" b=":char symbol='џ':x" />
|
||
<ctrl a="ц" b=":char symbol='ц':c" />
|
||
<ctrl a="в" b=":char symbol='в':v" />
|
||
<ctrl a="б" b=":char symbol='б':b" />
|
||
<ctrl a="н" b=":char symbol='н':n" />
|
||
<ctrl a="м" b=":char symbol='м':m" />
|
||
</modmap>
|
||
<row>
|
||
<key key0="љ" ne="1" se="loc esc"/>
|
||
<key key0="њ" nw="~" ne="2" sw="\@"/>
|
||
<key key0="е" ne="3" sw="\#" se="€"/>
|
||
<key key0="р" ne="4" sw="$" se="loc £"/>
|
||
<key key0="т" ne="5" sw="%"/>
|
||
<key key0="з" ne="6" sw="^"/>
|
||
<key key0="у" ne="7" sw="&"/>
|
||
<key key0="и" ne="8" sw="*"/>
|
||
<key key0="о" ne="9" sw="(" se=")"/>
|
||
<key key0="п" ne="0" sw="[" se="]"/>
|
||
<key key0="ш"/>
|
||
</row>
|
||
<row>
|
||
<key key0="а" nw="loc tab" ne="loc selectAll"/>
|
||
<key key0="с" nw="loc §" ne="loc shareText"/>
|
||
<key key0="д"/>
|
||
<key key0="ф"/>
|
||
<key key0="г"/>
|
||
<key key0="х"/>
|
||
<key key0="ј" ne="loc accent_circonflexe" sw="{" se="}"/>
|
||
<key key0="к" ne="-" sw="_"/>
|
||
<key key0="л" ne="=" sw="+"/>
|
||
<key key0="ч" nw="'" ne=""" sw="\\"/>
|
||
<key key0="ћ" ne="`" sw="|"/>
|
||
</row>
|
||
<row>
|
||
<key width="1.5" key0="shift" nw="loc superscript" ne="loc capslock" sw="loc subscript"/>
|
||
<key key0="ж" nw="loc undo" ne="loc redo" sw="<" se=">"/>
|
||
<key key0="џ" ne="loc cut"/>
|
||
<key key0="ц" ne="loc copy"/>
|
||
<key key0="в" ne="loc paste"/>
|
||
<key key0="б" ne="loc pasteAsPlainText"/>
|
||
<key key0="н" nw="!" ne="\?" sw="/"/>
|
||
<key key0="м" ne=";" sw=","/>
|
||
<key key0="ђ" ne=":" sw="."/>
|
||
<key width="1.5" key0="backspace" ne="delete"/>
|
||
</row>
|
||
</keyboard>
|