forked from bartvdbraak/blender
removed attempted WITH_BF_3DMOUSE detection, fixed just one indention (left the others in their ugly new state)
This commit is contained in:
parent
9cf3bcd414
commit
3b541b259f
@ -181,12 +181,6 @@ GHOST_NDOFManager::GHOST_NDOFManager(GHOST_System& sys)
|
|||||||
// the other is not, initialize them both here:
|
// the other is not, initialize them both here:
|
||||||
memset(m_translation, 0, sizeof(m_translation));
|
memset(m_translation, 0, sizeof(m_translation));
|
||||||
memset(m_rotation, 0, sizeof(m_rotation));
|
memset(m_rotation, 0, sizeof(m_rotation));
|
||||||
|
|
||||||
#ifdef WITH_INPUT_NDOF
|
|
||||||
GHOST_PRINT("WITH_INPUT_NDOF is defined!");
|
|
||||||
#else
|
|
||||||
GHOST_PRINT("WITH_INPUT_NDOF is not defined.");
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GHOST_NDOFManager::setDevice(unsigned short vendor_id, unsigned short product_id)
|
bool GHOST_NDOFManager::setDevice(unsigned short vendor_id, unsigned short product_id)
|
||||||
@ -219,7 +213,7 @@ bool GHOST_NDOFManager::setDevice(unsigned short vendor_id, unsigned short produ
|
|||||||
m_buttonCount = 31;
|
m_buttonCount = 31;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// -- older devices --
|
// -- older devices --
|
||||||
case 0xC625:
|
case 0xC625:
|
||||||
puts("ndof: using SpacePilot");
|
puts("ndof: using SpacePilot");
|
||||||
m_deviceType = NDOF_SpacePilot;
|
m_deviceType = NDOF_SpacePilot;
|
||||||
|
Loading…
Reference in New Issue
Block a user