/IngameIME_Linux

Support input method in game on Linux platform

Primary LanguagePythonGNU Lesser General Public License v2.1LGPL-2.1

IngameIME_Linux CI Status

A library for X Input Method(XIM) & Wayland Input Method(Wayland IM)

How to use?

See IngameIME-Common

What can you do with it?

  • Activate/Deactivate Input Method

  • Get available InputMethods and KeyboardLayouts in system,which are also called InputProcessors

  • Get the profile of the InputProcessor, which contains its name and the locale of the language this processor for

  • Get and Set active InputProcessor

  • Get PreEdit and CandidateList infomation during the Composition

Reference

X Input Method

Wayland Input Method

Limitations

XIM & Wayland IM

  • Can not fetch CandidateList
  • Global::getInputProcessors just return the active inputprocessor
  • Can not fetch the localized name of the inputprocessor
  • Can not fetch the localized name of the locale
  • InputProcessor::setActivated() has no effect
  • No inputprocessor change notify callback nor input modes

XIM (deprecated on XWayland Environment)

  • No Commit notify callback
  • No PreEdit & PreEditRect callback (Such function has implemented, but it takes no effect on XWayland Env)