I'm developing an application which I have successfully derived the Virtual Keyboard to support other languages as per the examples. However I'm a bit stuck on how to do so with a Chinese Layout. Since I'm running on top of linux I'm thinking of developing a device driver using something like libpinyin and then feeding back to the UI as the keystrokes are pressed. Is there any example or any other way that has already been developed, or would you recommend a different approach? I wanted to ask in this forum in case I can get some feedback that would point me in the right direction.
developing of input machines for languages like Chinese is a complex task we have not focused up to now. Unfortunately we have no example and no experience with libpinyin. What we provide is the template of a Virtual Keyboard GUI component. Since each customer has very different expectations concerning the look&feel of such GUI component, the templates are kept as generic as possible and they are intended to be adapted/enhanced by the customer. I admit, I have never seen a Chinese Virtual Keyboard in work so I it is difficult to give you concrete tips how to achive this task. From UI point of view I don't expect any limitations. The difficulty will be to implement/integrate the state machine needed to control and process the user inputs. Assuming such state machine is implemented in the libpinyin, you can integrate it with EmWi. Concrete you can call functions of libpinyin from EmWi and vice versa. Please see the section Integrating with the device.
Does it help you anyway?
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!