abouttreesummaryrefslogcommitdiff
path: root/srcs/layouts/hang_dubeolsik_kr.xml
diff options
context:
space:
mode:
authorJules Aguillon2024-05-02 20:52:18 +0200
committerGitHub2024-05-02 20:52:18 +0200
commit69ab869079307509a8c2e2ad89d7a163521fb6e4 (patch)
treeb1ef2474c67d5ff79f4db743f74e58b21c8a2b93 /srcs/layouts/hang_dubeolsik_kr.xml
parentd96414c6c6d995db020ec38556ef2e635574b759 (diff)
downloadunexpected-keyboard-69ab869079307509a8c2e2ad89d7a163521fb6e4.tar.gz
unexpected-keyboard-69ab869079307509a8c2e2ad89d7a163521fb6e4.zip
Hangul support (#595)
* Hangul support This works with two new kinds of keys (Hangul_initial and Hangul_medial) that carry a precomposed hangul syllable and act as modifiers. The hangul syllables are composed algorithmically. * Add shift layer to Dubeolsik layout
Diffstat (limited to 'srcs/layouts/hang_dubeolsik_kr.xml')
-rw-r--r--srcs/layouts/hang_dubeolsik_kr.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/srcs/layouts/hang_dubeolsik_kr.xml b/srcs/layouts/hang_dubeolsik_kr.xml
index 29dd01b..0b11539 100644
--- a/srcs/layouts/hang_dubeolsik_kr.xml
+++ b/srcs/layouts/hang_dubeolsik_kr.xml
@@ -1,5 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<keyboard name="두벌식 (Korean)" script="hangul">
+ <modmap>
+ <!-- The hangul character don't have shifted variants, this is specific to
+ the layout. -->
+ <shift a="ㅂ" b="ㅃ"/>
+ <shift a="ㅈ" b="ㅉ"/>
+ <shift a="ㄷ" b="ㄸ"/>
+ <shift a="ㄱ" b="ㄲ"/>
+ <shift a="ㅅ" b="ㅆ"/>
+ <shift a="ㅐ" b="ㅒ"/>
+ <shift a="ㅔ" b="ㅖ"/>
+ </modmap>
<row>
<key key0="ㅂ" key2="1" key4="esc"/>
<key key0="ㅈ" key1="~" key2="2" key3="\@"/>