#include <ma.h>
#include "ListenerSet.h"
#include "Environment.h"
|
Definitions for the different input modes. |
|
|
|
|
|
The user must implement a StartTimerCallback and a StopTimerCallback. These are used so that the system can create a timer. When the timer has reached its timeout it must call the CharInputCallback passed to the StartTimerCallback. |
|
The StartTimerCallback is used for starting the timer, the timer should call the argument CharInputCallback after time 'time'. |
|
The StopTimerCallback is used for stopping the timer. |
|
This is a callback used to notify the user about character input updates. |
|
Reset system. |
|
Notify the charinput system that a key has been pressed with the keycode 'keyCode'. |
|
Notify the charinput system that a key has been released with the keycode 'keyCode'. |
|
This function is used to register the timer callbacks, these are used to be able to start and stop a system specific timer. The user should start a timer when the 'startCallback' is called and stop that timer if 'stopCallback' is called. |
|
Use this to retrieve information about what chars can be currently selected. |
|
str is just a null-terminated string containing the characters corresponding to that index. |
|
|
|
num is the character for the number mode (i.e. the one you get if you do a long-press or |
|
Use this to get where in the list the current char is. |
|
Use this function to register a callback that is called everytime a character change has happened. |
|
Use this function to register a callback that is called everytime a character has been deployed. |
|
force the currently selected character to be deployed. |
|
Set character input mode using one of the defines: CI_MODE_CHAR_MODE_LOWERCASE, CI_MODE_CHAR_MODE_UPPERCASE, CI_MODE_CHAR_MODE_NUMBERS. |
|
Get the character input mode. |
|
In standard mode, only the 0-9, # and * keys are used. This is suitable for devices with such keypads. In qwerty mode, all keys are used. This is suitable for devices with qwerty keyboards. |
|
Get the qwerty mode. |