summaryrefslogtreecommitdiff
path: root/indra/llwindow/llkeyboardheadless.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-06-28 18:37:08 +0800
committerErik Kundiman <erik@megapahit.org>2024-06-28 18:37:08 +0800
commita0346658a3266a06c5f4ef73dd1e1bd90a43938c (patch)
tree398c1e8002f1b4c5534cbcc558621e5a29428c5b /indra/llwindow/llkeyboardheadless.cpp
parent1852ebd65df1748f071947204e440f1dece30f31 (diff)
Revert the key type from U32 to U16
It was changed in the first place to accommodate SDL2's bigger size need, since SDL2 was still used by all ports. This would conflict when maint-b gets merge later, so just revert it beforehand. With this commit, it would fail to compile for Linux & FreeBSD on main branch temporarily.
Diffstat (limited to 'indra/llwindow/llkeyboardheadless.cpp')
-rw-r--r--indra/llwindow/llkeyboardheadless.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llwindow/llkeyboardheadless.cpp b/indra/llwindow/llkeyboardheadless.cpp
index 3e81aff626..01ac26261b 100644
--- a/indra/llwindow/llkeyboardheadless.cpp
+++ b/indra/llwindow/llkeyboardheadless.cpp
@@ -35,11 +35,11 @@ void LLKeyboardHeadless::resetMaskKeys()
{ }
-BOOL LLKeyboardHeadless::handleKeyDown(const U32 key, const U32 mask)
+BOOL LLKeyboardHeadless::handleKeyDown(const U16 key, const U32 mask)
{ return FALSE; }
-BOOL LLKeyboardHeadless::handleKeyUp(const U32 key, const U32 mask)
+BOOL LLKeyboardHeadless::handleKeyUp(const U16 key, const U32 mask)
{ return FALSE; }
MASK LLKeyboardHeadless::currentMask(BOOL for_mouse_event)