Fix for the case of failed LAM-ALEF ligature. Handle positioning of
[m17n/m17n-db.git] / MIM / my-kbd.mim
1 ;; my-kbd.mim -- Myanmar input method with Myanmar keyboard layout
2 ;; Copyright (C) 2004, 2005
3 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
4 ;;   Registration Number H15PRO112
5
6 ;; This file is part of the m17n database; a sub-part of the m17n
7 ;; library.
8
9 ;; The m17n library is free software; you can redistribute it and/or
10 ;; modify it under the terms of the GNU Lesser General Public License
11 ;; as published by the Free Software Foundation; either version 2.1 of
12 ;; the License, or (at your option) any later version.
13
14 ;; The m17n library is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 ;; Lesser General Public License for more details.
18
19 ;; You should have received a copy of the GNU Lesser General Public
20 ;; License along with the m17n library; if not, write to the Free
21 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
23
24 (input-method my kbd)
25
26 (description "Myanmar input method simulating the Myanmar keyboard.
27 ")
28
29 (title "MY")
30
31 (map
32  (map
33   ;; Unshifted Shift        Alt
34   ("1" 0x1041) ("!" 0x100D)                     ; ၁ ဍ -
35   ("2" 0x1042)                                  ; ၂ - -
36   ("3" 0x1043) ("#" 0x100B)                     ; ၃ ဋ -
37   ("4" 0x1044)                                  ; ၄ - -
38   ("5" 0x1045)                                  ; ၅ - -
39   ("6" 0x1046)                                  ; ၆ - -
40   ("7" 0x1047) ("&" 0x101B)                     ; ၇ ရ -
41   ("8" 0x1048) ("*" 0x1002)                     ; ၈ ဂ -
42   ("9" 0x1049)                                  ; ၉ - -
43   ("0" 0x1040) (")" 0x101D)                     ; ၀ ဝ -
44
45   ("q" 0x1006) ("Q" 0x104D)                     ; ဆ ၍ -
46   ("w" 0x1010)                                  ; တ - -
47   ("e" 0x1014)                                  ; န - -
48   ("r" 0x1019)                                  ; မ - -
49   ("t" 0x1021)                                  ; အ - -
50   ("y" 0x1015)                                  ; ပ - -
51   ("u" 0x1000)                                  ; က - -
52   ("i" 0x1004)                                  ; င - -
53   ("o" 0x101E) ("O" 0x1025)                     ; သ ဥ -
54   ("p" 0x1005) ("P" 0x100F)                     ; စ ဏ -
55   ("[" 0x101F) ("{" 0x100E)                     ; ဟ ဎ -
56   ("]" 0x1009) ("}" 0x1027)                     ; ဉ ဧ -
57   ("\\" 0x104F)                                 ; ၏ - -
58
59   ("a" 0x1031) ("A" 0x1017)                     ; ေ ဗ -
60   ("s" 0x1039 0x101A) ("S" 0x1039 0x101F)       ;္ယ ္ဟ -
61   ("d" 0x102D) ("D" 0x102E)                     ; ိ ီ -
62   ("f" 0x1039) ("F" 0x200D)                     ; ္ ZWNJ -
63                             ((A-g) 0x104C)      ; - - ၌
64   ("g" 0x200C)  ("G" 0x1039 0x101D)             ;္ရ ္ဝ -
65   ("h" 0x1037) ("H" 0x1036) ((A-h) 0x104D)      ; ့ ံ ၍
66   ("j" 0x1039 0x101B) ("J" 0x1032) ((A-j) 0x104E)       ; ္ရ ဲ ၎
67   ("k" 0x102F)              ((A-k) 0x1024)      ; ု - ဤ
68   ("l" 0x1030)                                  ; ူ - -
69   (";" 0x1038)                                  ; း - -
70   ("'" 0x1012) ("\"" 0x1013)                    ; ဒ ဓ -
71
72   ("z" 0x1016) ("Z" 0x1007)                     ; ဖ ဇ -
73   ("x" 0x1011) ("X" 0x100C)                     ; ထ ဌ -
74   ("c" 0x1001) ("C" 0x1003)                     ; ခ ဃ -
75   ("v" 0x101C) ("V" 0x1020)                     ; လ ဠ -
76   ("b" 0x1018)                                  ; ဘ - -
77   ("n" 0x100A)                                  ; ည - -
78   ("m" 0x102C)                                  ; ာ - -
79   ("," 0x101A) ("<" 0x104D)                     ; ယ ၍ -
80   ("." 0x1008) (">" 0x1024)                     ; ဈ ဤ -
81   ("/" 0x104B)                                  ; ။ - -
82   ))
83
84 (state
85  (init
86   (map)))
87
88 ;; Local Variables:
89 ;; coding: utf-8
90 ;; mode: lisp
91 ;; End: