More cats and cpys in files that xcode doesn't see

This commit is contained in:
Glenn Smith 2018-03-07 01:13:56 -05:00
parent dce7f5f6b3
commit d9a723d533
21 changed files with 43 additions and 43 deletions

View file

@ -82,7 +82,7 @@ U32 LeapMotionDevice::LM_FRAME = 0;
LeapMotionDevice::LeapMotionDevice()
{
// From IInputDevice
dStrcpy(mName, "leapmotion");
dStrcpy(mName, "leapmotion", 30);
mDeviceType = INPUTMGR->getNextDeviceType();
mController = NULL;

View file

@ -86,7 +86,7 @@ F32 OculusVRDevice::smPositionTrackingScale = 1.0f;
OculusVRDevice::OculusVRDevice()
{
// From IInputDevice
dStrcpy(mName, "oculusvr");
dStrcpy(mName, "oculusvr", 30);
mDeviceType = INPUTMGR->getNextDeviceType();
//

View file

@ -493,7 +493,7 @@ OpenVRProvider::OpenVRProvider() :
mDrawCanvas(NULL),
mGameConnection(NULL)
{
dStrcpy(mName, "openvr");
dStrcpy(mName, "openvr", 30);
mDeviceType = INPUTMGR->getNextDeviceType();
buildInputCodeTable();
GFXDevice::getDeviceEventSignal().notify(this, &OpenVRProvider::_handleDeviceEvent);

View file

@ -91,7 +91,7 @@ U32 RazerHydraDevice::RH_FRAME = 0;
RazerHydraDevice::RazerHydraDevice()
{
// From IInputDevice
dStrcpy(mName, "razerhydra");
dStrcpy(mName, "razerhydra", 30);
mDeviceType = INPUTMGR->getNextDeviceType();
//