Exemple #1
0
void
OSXKeyState::setGroup(SInt32 group)
{
#if defined(MAC_OS_X_VERSION_10_5)
	TISSetInputMethodKeyboardLayoutOverride(m_groups[group]);
#else
	KLSetCurrentKeyboardLayout(m_groups[group]);
#endif
}
Exemple #2
0
void
OSXKeyState::setGroup(SInt32 group)
{
	TISSetInputMethodKeyboardLayoutOverride(m_groups[group]);
}