When the mouse enters a button, I'm setting the focus to this button and I would like this buttons react to keyboard input, for example, if I press <<Enter>> it should act like left click mouse event:
Code: Select all
bool keyReleased( const CEGUI::EventArgs& e )
{
// what should i put here to fire left click event?
return true;
}
Thanks,
Dirso