summaryrefslogtreecommitdiff
path: root/indra/llwindow/llkeyboardheadless.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-10-08 17:06:20 +0300
committerGitHub <noreply@github.com>2024-10-08 17:06:20 +0300
commit6ccae2d0ae977965202ecb45de77e46f8d0312b3 (patch)
tree0819595c2a50aa7066b0c75b49d3b6c31f5636b9 /indra/llwindow/llkeyboardheadless.cpp
parentccc7fffb22b347149bf807b9d92677e5616c5017 (diff)
parent3dca9fc377e855b74a78a5c30464b468dcc82644 (diff)
Merge branch 'develop' into maxim/lua-nearby-avatars
Diffstat (limited to 'indra/llwindow/llkeyboardheadless.cpp')
-rw-r--r--indra/llwindow/llkeyboardheadless.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llwindow/llkeyboardheadless.cpp b/indra/llwindow/llkeyboardheadless.cpp
index ad8e42a412..0ca8c09f42 100644
--- a/indra/llwindow/llkeyboardheadless.cpp
+++ b/indra/llwindow/llkeyboardheadless.cpp
@@ -31,6 +31,16 @@
LLKeyboardHeadless::LLKeyboardHeadless()
{ }
+bool LLKeyboardHeadless::handleKeyUp(const LLKeyboard::NATIVE_KEY_TYPE key, MASK mask)
+{
+ return false;
+}
+
+bool LLKeyboardHeadless::handleKeyDown(const LLKeyboard::NATIVE_KEY_TYPE key, MASK mask)
+{
+ return false;
+}
+
void LLKeyboardHeadless::resetMaskKeys()
{ }
@@ -57,6 +67,7 @@ void LLKeyboardHeadless::scanKeyboard()
mCallbacks->handleScanKey(key, mKeyDown[key], mKeyUp[key], mKeyLevel[key]);
}
}
+ mCurScanKey = KEY_NONE;
// Reset edges for next frame
for (S32 key = 0; key < KEY_COUNT; key++)