summaryrefslogtreecommitdiff
path: root/indra/llwindow/llkeyboardheadless.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-07-05 20:37:39 +0800
committerErik Kundiman <erik@megapahit.org>2024-07-05 20:37:39 +0800
commitbe75d0eba7ff0a29573139aee593debba81cc65d (patch)
tree2545f54e724b38702be6876e3b0ee4948bf64d25 /indra/llwindow/llkeyboardheadless.cpp
parent6814c077701786f9d69e9f5c0f78ed496a3122cf (diff)
parent6369047dcb74323b248de59bc8187db0d315548a (diff)
Merge branch 'main' into webrtc-voice
Diffstat (limited to 'indra/llwindow/llkeyboardheadless.cpp')
-rw-r--r--indra/llwindow/llkeyboardheadless.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llwindow/llkeyboardheadless.cpp b/indra/llwindow/llkeyboardheadless.cpp
index 01ac26261b..a3c86fde2b 100644
--- a/indra/llwindow/llkeyboardheadless.cpp
+++ b/indra/llwindow/llkeyboardheadless.cpp
@@ -35,11 +35,19 @@ void LLKeyboardHeadless::resetMaskKeys()
{ }
+#if LL_SDL
+BOOL LLKeyboardHeadless::handleKeyDown(const U32 key, const U32 mask)
+#else
BOOL LLKeyboardHeadless::handleKeyDown(const U16 key, const U32 mask)
+#endif
{ return FALSE; }
+#if LL_SDL
+BOOL LLKeyboardHeadless::handleKeyUp(const U32 key, const U32 mask)
+#else
BOOL LLKeyboardHeadless::handleKeyUp(const U16 key, const U32 mask)
+#endif
{ return FALSE; }
MASK LLKeyboardHeadless::currentMask(BOOL for_mouse_event)