Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Where can I get instructions to create an IME for fcitx? #230

Closed
krafi99 opened this issue Feb 23, 2021 · 5 comments
Closed

[Question] Where can I get instructions to create an IME for fcitx? #230

krafi99 opened this issue Feb 23, 2021 · 5 comments

Comments

@krafi99
Copy link

krafi99 commented Feb 23, 2021

As the title says

@wengxt
Copy link
Member

wengxt commented Feb 23, 2021

currently there’s not one for fcitx5 yet (some doc still in my todo)

but you could start with an existing engine code.

Basically it will focus on implementing InputMethodEngine::keyEvent part.

I saw you want to have add some support for openbangla, so I guess you can just take the process_key_event and reimplement it in fcitx.

This is a simple engine to look at:
https://github.com/fcitx/fcitx5-sayura/tree/master/src

I think you could get how to install the required files for fcitx and do cmake setup for it.

SayuraEngine is the implementation for the InputMethodEngine class. SayuraState is the data that associate with a specific input context (you could think a input context is an application using input method).

@krafi99
Copy link
Author

krafi99 commented Feb 24, 2021

Actually, I wanted the instructions only to provide them to the devs of OpenBangla. But, as you already came to know that, please provide the instructions to devs and help them make it. I'll also collaborate if I can. 😄

@wengxt
Copy link
Member

wengxt commented Feb 24, 2021

@krafi99 I already did the implementation and send a PR: OpenBangla/OpenBangla-Keyboard#202

@wengxt
Copy link
Member

wengxt commented Nov 18, 2021

https://fcitx-im.org/wiki/Develop_an_simple_input_method likely we'll go from there WIP.

@wengxt
Copy link
Member

wengxt commented Nov 19, 2021

The initial version of instruction is finished. Close for now.

@wengxt wengxt closed this as completed Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants