;; ug-kbd.mim -- Uyghur input method with Uyghur keyboard layout
;; Copyright (C) 2006, 2008, 2009
;;   National Institute of Advanced Industrial Science and Technology (AIST)
;;   Registration Number H15PRO112

;; This file is part of the m17n database; a sub-part of the m17n
;; library.

;; The m17n library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
;; as published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version.

;; The m17n library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; Lesser General Public License for more details.

;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

(input-method ug kbd)

(description "Uyghur input method simulating an Uyghur keyboard layout.
Based on <http://tarim.yulghun.com/docs/src/uyghur.xkb>
")

(title "ئۇ")

(map
 (map
  ("q" 0x0686)
  ("w" 0x06CB)
  ("e" 0x06D0)
  ("r" 0x0631)
  ("t" 0x062A)
  ("y" 0x064A)
  ("u" 0x06C7)
  ("i" 0x06AD)
  ("o" 0x0648)
  ("p" 0x067E)

  ("a" 0x06BE)
  ("s" 0x0633)
  ("d" 0x062F)
  ("f" 0x0627)
  ("g" 0x06D5)
  ("h" 0x0649)
  ("j" 0x0642)
  ("k" 0x0643)
  ("l" 0x0644)
  (";" 0x061B)

  ("z" 0x0632)
  ("x" 0x0634)
  ("c" 0x063A)
  ("v" 0x06C8)
  ("b" 0x0628)
  ("n" 0x0646)
  ("m" 0x0645)
  ("," 0x060C)
  ("/" 0x0626)

  ("Q" 0x0686)
  ("W" 0x06CB)
  ("E" 0x06D0)
  ("R" 0x0631)
  ("T" 0x062A)
  ("Y" 0x064A)
  ("U" 0x06C7)
  ("I" 0x06AD)
  ("O" 0x0648)
  ("P" 0x067E)
  ("\{" 0x00AB)
  ("\}" 0x00BB)

  ("A" 0x06BE)
  ("S" 0x0633)
  ("D" 0x0698)
  ("F" 0x0641)
  ("G" 0x06AF)
  ("H" 0x062E)
  ("J" 0x062C)
  ("K" 0x06C6)
  ("L" 0x0644)

  ("Z" 0x0632)
  ("X" 0x0634)
  ("C" 0x063A)
  ("V" 0x06C8)
  ("B" 0x0628)
  ("N" 0x0646)
  ("M" 0x0645)
  ("?" 0x061F)

  ("<" 0x2039)
  (">" 0x203A)
  ("_" 0x2014)))

(state
 (init
  (map)))

;; Local Variables:
;; coding: utf-8
;; mode: lisp
;; End:
