diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-12-20 17:44:08 +0200 |
---|---|---|
committer | akleshchev <117672381+akleshchev@users.noreply.github.com> | 2023-10-23 15:26:19 +0300 |
commit | 453a4a13f87d5cbfa6150a4f76f9e976692b54e6 (patch) | |
tree | 9f8fca6832b9115da0771a8203ba4324716c5931 /indra/newview/llviewerjoystick.h | |
parent | 9b27b6e5098aee7a050d4c3f3f14050c509f74ec (diff) |
SL-13610 [MAC] WIP enable initing devices by local id
Diffstat (limited to 'indra/newview/llviewerjoystick.h')
-rw-r--r-- | indra/newview/llviewerjoystick.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerjoystick.h b/indra/newview/llviewerjoystick.h index 49f8c8eabf..0e5629497d 100644 --- a/indra/newview/llviewerjoystick.h +++ b/indra/newview/llviewerjoystick.h @@ -30,6 +30,9 @@ #include "stdtypes.h" #if LIB_NDOF +#if LL_DARWIN +#define TARGET_OS_MAC 1 +#endif #include "ndofdev_external.h" #else #define NDOF_Device void @@ -54,6 +57,7 @@ public: void initDevice(LLSD &guid); void initDevice(void * preffered_device /*LPDIRECTINPUTDEVICE8*/); void initDevice(void * preffered_device /*LPDIRECTINPUTDEVICE8*/, std::string &name, LLSD &guid); + bool initDevice(NDOF_Device * ndof_device, LLSD::Binary &guid); void terminate(); void updateStatus(); |