Skip to content

revengenowstudio/IMEHelper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IME Helper for windows

Code mainly come from ryancheung's MonoGame.IMEHelper.

Getting started

Initialize a IMEHandler instance in your game Initialize method

   imeHandler = new WinFormsIMEHandle(WindowHandle);
   imeHandler.TextInput += (s, e) => { ... };

If your want to render Composition String

   imeHandler = new WinFormsIMEHandler(WindowHandle);
   imeHandler.TextInput += (s, e) => { ... };
   imeHandler.TextComposition += (s, e) => { ... };

Note that TextComposition event only works on WindowsDX platform due to limitation of the underlying platform

Start Text Composition

imeHandler.StartTextComposition();

Stop Text Composition

imeHandler.StopTextComposition(); `

License

MonoGame.IMEHelper is released under the The MIT License (MIT).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%