Setting up Cameyo server for IME keyboard input

Cameyo supports international IME languages as keyboard input, by configuring the following pair of PowerTags:

!KBLAYOUT=[KeyboardLayout]
!STARTUP_BEFORE_PS1=Set-WinUserLanguageList -LanguageList [LanguageId] -force;$P1="HKCU:\Software\Microsoft\Input\Settings";if(-not(Test-Path -Path $P1)){New-Item -Path $P1 -Force};New-ItemProperty -Path $P1 -Name EnableExpressiveInputEmojiMultipleSelection -Value 1 -Force;$P2="HKCU:\Software\Microsoft\CTF\LangBar";if(-not (Test-Path -Path $P2)){New-Item -Path $P2 -Force};New-ItemProperty -Path $P2 -Name ShowStatus -Value 0 -Force;New-ItemProperty -Path $P2 -Name ExtraIconsOnMinimized -Value 1 -Force;New-ItemProperty -Path $P2 -Name Label -Value 0 -Force;Set-WinLanguageBarOption -UseLegacyLanguageBar 


[LanguageId] can be:

  • ja-JP
  • ko-KR
  • zh-TW


[KeyboardLayout] can be:

  • ja-jp-qwerty
  • ko-kr-qwerty


Example:

!KBLAYOUT=ja-jp-qwerty
!STARTUP_BEFORE_PS1=Set-WinUserLanguageList -LanguageList ja-JP -force;$P1="HKCU:\Software\Microsoft\Input\Settings";if(-not(Test-Path -Path $P1)){New-Item -Path $P1 -Force};New-ItemProperty -Path $P1 -Name EnableExpressiveInputEmojiMultipleSelection -Value 1 -Force;$P2="HKCU:\Software\Microsoft\CTF\LangBar";if(-not (Test-Path -Path $P2)){New-Item -Path $P2 -Force};New-ItemProperty -Path $P2 -Name ShowStatus -Value 0 -Force;New-ItemProperty -Path $P2 -Name ExtraIconsOnMinimized -Value 1 -Force;New-ItemProperty -Path $P2 -Name Label -Value 0 -Force;Set-WinLanguageBarOption -UseLegacyLanguageBar




Setting up Cameyo server for IME keyboard input (legacy, deprecated)

  1. Set a PowerTag!ImeMode=[switch-mode], where switch-mode can be either 1 or 2:
    • 1: standard language switching.
    • 2: IME mode (i.e. Japanese).
  2. Set a PowerTag !ImeLang=[lang] where lang is the language code-name, i.e. "ja" (without the quotes) for Japanese. Several languages can be specified separated by comma, i.e. "th,en-US" for Thai, English US.
  3. In your Cameyo session settings page under the "Appearance" section, set "Keyboard mode" to "Windows OSK" for both Desktop and Mobile modes.
  4. Make sure the Keyboard button is enabled in "Session controls". You can choose between "button" or "toolbar" mode as you prefer.

To test the language switching mode, start a Cameyo session on this server. Sessions will start in the default language. In case of IME, the default initial language is always English. To switch into the secondary language, click on the Keyboard icon button. According to your selected toolbar style in step #4, it will look as either of these at the bottom of your screen:

toolbar

Clicking on the Keyboard button will switch the input language:

ime