summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerjoystick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerjoystick.cpp')
-rw-r--r--indra/newview/llviewerjoystick.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerjoystick.cpp b/indra/newview/llviewerjoystick.cpp
index e182b31ed2..95cfa5cd78 100644
--- a/indra/newview/llviewerjoystick.cpp
+++ b/indra/newview/llviewerjoystick.cpp
@@ -399,6 +399,7 @@ void LLViewerJoystick::init(bool autoenable)
long id;
memcpy(&id, &mLastDeviceUUID[0], size);
+ // todo: search by manufcturer instead, locid might have changed
NDOF_Device *device = ndof_idsearch(id);
if (device)
{
@@ -500,6 +501,7 @@ void LLViewerJoystick::initDevice(LLSD &guid)
NDOF_Device *device = ndof_idsearch(id);
if (device)
{
+ // todo: search by manufcturer instead, locid might have changed
if (ndof_init_first(device, nullptr))
{
mDriverState = JDS_INITIALIZING;