diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-07-05 20:37:39 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-07-05 20:37:39 +0800 |
commit | be75d0eba7ff0a29573139aee593debba81cc65d (patch) | |
tree | 2545f54e724b38702be6876e3b0ee4948bf64d25 /indra/llwindow/llkeyboardheadless.h | |
parent | 6814c077701786f9d69e9f5c0f78ed496a3122cf (diff) | |
parent | 6369047dcb74323b248de59bc8187db0d315548a (diff) |
Merge branch 'main' into webrtc-voice
Diffstat (limited to 'indra/llwindow/llkeyboardheadless.h')
-rw-r--r-- | indra/llwindow/llkeyboardheadless.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llwindow/llkeyboardheadless.h b/indra/llwindow/llkeyboardheadless.h index 8e067e6108..2bb670a53d 100644 --- a/indra/llwindow/llkeyboardheadless.h +++ b/indra/llwindow/llkeyboardheadless.h @@ -35,8 +35,13 @@ public: LLKeyboardHeadless(); /*virtual*/ ~LLKeyboardHeadless() {}; +#if LL_SDL + /*virtual*/ BOOL handleKeyUp(const U32 key, MASK mask); + /*virtual*/ BOOL handleKeyDown(const U32 key, MASK mask); +#else /*virtual*/ BOOL handleKeyUp(const U16 key, MASK mask); /*virtual*/ BOOL handleKeyDown(const U16 key, MASK mask); +#endif /*virtual*/ void resetMaskKeys(); /*virtual*/ MASK currentMask(BOOL for_mouse_event); /*virtual*/ void scanKeyboard(); |