Change keyboard input method to unicode?
<p>I am going to create an application called 'khmer keyboard input method'
the khmer just come in unicode standard (Range: 1780–17FF).</p>

<p>reference <a href="http://www.unicode.org/charts/PDF/U1780.pdf" rel="nofollow">http://www.unicode.org/charts/PDF/U1780.pdf</a></p>

<p>this application it will allow cambodian to switch from English to Khmer by press
the definded shortcut key (F10 for example).
the application I will improve GUI.</p>

<p>for example</p>

<pre><code>if keypress is 'k':
    return unicode(u'\u1780')#KHMER LETTER KA
if keypress is shift+k or is 'K':
   return unicode(u'\u1782')#KHMER LETTER KO

 #.....................

 if keypress is 'F10':
      switch_to_english_keyboard
</code></pre>

<p>thank for S.Mark that told me </p>

<blockquote>
  <p>Hooking keys and sendkeys is different
  way for Windows and Linux, so you have
  to do it seperately. In Windows, you
  can use combination of PyHook and
  SendKeys</p>
</blockquote>

<p>For Linux,I have done to this </p>

<p>Anybody here Know to do this in python(tips,sample,..)
  (Just for WINDOWS )?
    it will be great if there are a simple code or any open source that make it more easy.</p>

<p>***ABOUT KHMER KEYBOARD LAYOUT 
             <a href="http://en.wikipedia.org/wiki/Keyboard_layout#Khmer" rel="nofollow">http://en.wikipedia.org/wiki/Keyboard_layout#Khmer</a></p>
