This is a fake =fcitx-remote= for Windows so that it can be used by [[https://github.com/cute-jumper/fcitx.el][fcitx.el]]. Inspired by [[https://github.com/CodeFalling/fcitx-remote-for-osx/][fcitx-remote-for-osx]].
For Vim users: This program might also be able to be used by =fcitx.vim=. I haven't tested it and I probably won't since I don't use Vim myself. If you're interested, help me out by submitting PRs or reporting issues.
Build Instructions ** Build by Yourself You can change the key combination to toggle the input method if you build the program by yourself.
In current code, =ALT+SHIFT= is set as the default key combination to toggle the input method.
This project is built from Visual Studio 2013. Import the project into Visual Studio and build the executable file.
** Use pre-built releases You can download the pre-built releases in the GitHub project homepage. Two versions available:
Use =WIN+SPACE= as the toggle key: [[https://github.com/cute-jumper/fcitx-remote-for-windows/releases/download/win-space/fcitx-remote.exe][download link]]
Choose the one that fits you.
Windows Setup This program toggles the input method by simulating =ALT+SHIFT= or =WIN+SPACE= keys, which means you need to make sure you can use =ALT+SHIFT= or =WIN+SPACE= to switch between English and Chinese input method.
Emacs Setup If you're using =WIN+SPACE= to toggle the input method, add the following settings to your =init.el= so that =WIN+SPACE= can be handled by the Windows instead of Emacs:
(setq w32-pass-lwindow-to-system nil) (setq w32-lwindow-modifier 'super)
Also, make sure =fcitx-remote= is in your =PATH= and =exec-path=. If not, use the following code in your =init.el=:
(let ((fcitx-path "C:/path/to/fcitx-remote")) (setenv "PATH" (concat fcitx-path ";" (getenv "PATH"))) (add-to-list 'exec-path fcitx-path))
Problems Currently this program works great, but still has some minor problems:
TODO TODO