For developers
While `afrim is mainly used as a binary application, you can also import the core library directly and use that to build your own input method. In this chapter, we will talk about how to customize the internal working of afrim. Afrim supports Rhai scripting language for some customization.
The For Developers chapters are here to show you the more advanced usage of afrim
.
The two main ways a developer can hook into the afrim working is via,
Afrim Brief Architecture
Afrim Working
The working of afrim goes through several steps.
- Listening keyboard events
- Identify the event
- Identify the operation to perform
- For each translator:
- Perform the translation
- Return the predicates
- Display useful information through the frontend interface