unicode is important, or you'll be limited to type MAJ only,
you are using MGui.2 with the current branch of Maratis as a plugin yes ?
(current branch is ASCII, when the new experimental branch is unicode)
Anyway, some development is needed.
The only thing you can do right now is to access ASCII characters and special keys one by one :
char name[2] = {0, 0};
// A to Z
for(int i=65; i<=90; i++)
{
name[0] = i;
if(input->onKeyDown(name))
rootWindow->onChar(i);
}
// 0 to 9
for(int i=48; i<=57; i++)
{
name[0] = i;
if(input->onKeyDown(name))
rootWindow->onChar(i);
}
// special keys
if(input->onKeyDown("UP"))
rootWindow->onKeyDown(MKEY_UP);
if(input->onKeyDown("DOWN"))
rootWindow->onKeyDown(MKEY_DOWN);
if(input->onKeyDown("LEFT"))
rootWindow->onKeyDown(MKEY_LEFT);
if(input->onKeyDown("RIGHT"))
rootWindow->onKeyDown(MKEY_RIGHT);
if(input->onKeyDown("BACKSPACE"))
rootWindow->onKeyDown(MKEY_BACKSPACE);
if(input->onKeyDown("ENTER"))
rootWindow->onKeyDown(MKEY_RETURN);
if(input->onKeyDown("SPACE"))
rootWindow->onKeyDown(MKEY_SPACE);
// and do the same with onKeyDown
not pretty and not the best, but we'll add a better automatic way at some point.