Address Issue 1063: Compatibility azerty

It's dynamic, no need to relog!
Look under input preferences for "Use azerty layout instead of qwerty layout"
This commit is contained in:
Inusaito Sayori
2014-06-11 20:02:34 -04:00
parent 3cff5cd1a8
commit 973a90a34d
7 changed files with 399 additions and 6 deletions

View File

@@ -851,6 +851,14 @@ S32 LLViewerKeyboard::loadBindings(const std::string& filename)
return binding_count;
}
void LLViewerKeyboard::unloadBindings()
{
for (S32 mode = 0; mode < MODE_COUNT; ++mode)
{
mRemapKeys[mode].clear();
mBindingCount[mode] = 0;
}
}
EKeyboardMode LLViewerKeyboard::getMode()
{