Skip to content
Raphael Menges edited this page Mar 3, 2016 · 2 revisions

Keyboard to type in symbols with ones eyes. The character set depends one the character set chosen in the GUIBuilder before GUI construction. One keyboard has multiple keymaps which can be set active using the interface functions and indices. In addition, one can tell the keyboard via interface to display lower or upper case letters. Another feature is called fast-typing, which is explained in the corresponding paragraph.

Definition

Just add it to the layout or brick in the xml file, for example:

<layout>
  <keyboard></keyboard>
</layout>

Usage

For receiving typed in symbols, one has to implement a listener. Take a look at Notifications for details.

Fast-Typing

Fast-Typing can be activated or deactivated using the following function in the header:

void setFastTypingOfKeyboard(eyegui::Layout* pLayout, std::string id, bool useFastTyping);

It takes the layout which the keyboard belongs to, its id and a bool for indication whether fast-typing should be used or not. Without fast-typing, a letter in the keyboard is pressed when a certain threshold is full and an animation is displayed. With this feature, each letter that is looked at shortly and is visually marked with a circle is remembered. The listeners get that letters not before a single letter is focused until the threshold is full and the animation plays.

Clone this wiki locally