diff options
author | Steven Bennetts <steve@lindenlab.com> | 2007-02-05 20:20:42 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2007-02-05 20:20:42 +0000 |
commit | d1582a5105f01181535fb859c530e45c2efca071 (patch) | |
tree | f8c6939e2c67d64d7be0e2488af296b42f13800d /indra/llwindow/llwindowwin32.cpp | |
parent | 57be416ab7c9d93196231fb55de8ba563f3b29eb (diff) |
merge -r 57111:57464 maintenance.
Diffstat (limited to 'indra/llwindow/llwindowwin32.cpp')
-rw-r--r-- | indra/llwindow/llwindowwin32.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index 535f94d855..c79a39c513 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -1961,20 +1961,6 @@ LRESULT CALLBACK LLWindowWin32::mainWindowProc(HWND h_wnd, UINT u_msg, WPARAM w_ << " key " << S32(w_param) << llendl; } - // lower 15 bits hold key repeat count - S32 key_repeat_count = l_param & 0x7fff; - if (key_repeat_count > 1) - { - KEY translated_key; - gKeyboard->translateKey(w_param, &translated_key); - if (!gKeyboard->getKeyDown(translated_key)) - { - //RN: hack for handling key repeats when we no longer recognize the key as being down - //This is necessary because we sometimes ignore the message queue and use getAsyncKeyState - // to clear key level flags before we've processed all key repeat messages - return 0; - } - } if(gKeyboard->handleKeyDown(w_param, mask) && eat_keystroke) { return 0; |