summaryrefslogtreecommitdiff
path: root/indra/llwindow/llkeyboardheadless.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-15 16:28:26 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-15 23:24:06 +0800
commit6d31ea65d2c597397971fb97fc17610277104e1b (patch)
treeac19cde920e9dccac900dfa6a47599cfeedef893 /indra/llwindow/llkeyboardheadless.cpp
parentee14fd56f2b49e4fb38822c85bab4d342117a177 (diff)
SDL 1.2 to 2.0 migration
Both keycodes and scancodes are now 32 bits, so the key type is lengthened from U16 to U32.
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 a1b6b294e0..3ca421f9f9 100644
--- a/indra/llwindow/llkeyboardheadless.cpp
+++ b/indra/llwindow/llkeyboardheadless.cpp
@@ -35,11 +35,11 @@ void LLKeyboardHeadless::resetMaskKeys()
{ }
-BOOL LLKeyboardHeadless::handleKeyDown(const U16 key, const U32 mask)
+BOOL LLKeyboardHeadless::handleKeyDown(const U32 key, const U32 mask)
{ return FALSE; }
-BOOL LLKeyboardHeadless::handleKeyUp(const U16 key, const U32 mask)
+BOOL LLKeyboardHeadless::handleKeyUp(const U32 key, const U32 mask)
{ return FALSE; }
MASK LLKeyboardHeadless::currentMask(BOOL for_mouse_event)