summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowheadless.cpp
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2011-02-23 05:40:08 +0000
committerDon Kjer <don@lindenlab.com>2011-02-23 05:40:08 +0000
commit0929315ab103433275a71f26a4900ee0615932e9 (patch)
tree5a64d716cb8c4c8bde7d20dde9dd811f1dcecf30 /indra/llwindow/llwindowheadless.cpp
parent28ef58285e95e3234d0faa5f230456ae47ecde13 (diff)
Added headless client keyboard
Diffstat (limited to 'indra/llwindow/llwindowheadless.cpp')
-rw-r--r--indra/llwindow/llwindowheadless.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowheadless.cpp b/indra/llwindow/llwindowheadless.cpp
index 35398f1c09..e6e6bc67ff 100644
--- a/indra/llwindow/llwindowheadless.cpp
+++ b/indra/llwindow/llwindowheadless.cpp
@@ -28,6 +28,7 @@
#include "indra_constants.h"
#include "llwindowheadless.h"
+#include "llkeyboardheadless.h"
//
// LLWindowHeadless
@@ -37,6 +38,9 @@ LLWindowHeadless::LLWindowHeadless(LLWindowCallbacks* callbacks, const std::stri
BOOL disable_vsync, BOOL use_gl, BOOL ignore_pixel_depth)
: LLWindow(callbacks, fullscreen, flags)
{
+ // Initialize a headless keyboard.
+ gKeyboard = new LLKeyboardHeadless();
+ gKeyboard->setCallbacks(callbacks);
}