NDOF: suppress buttons debug log

Accidentally left this in the 3D mouse code. Mac only.
This commit is contained in:
Mike Erwin 2016-08-17 00:12:28 -04:00
parent f92a6b8d1b
commit a195dd15d4
1 changed files with 2 additions and 0 deletions

View File

@ -210,7 +210,9 @@ static void DeviceEvent(uint32_t unused, uint32_t msg_type, void* msg_arg)
case kConnexionCmdHandleButtons:
{
int button_bits = has_old_driver ? s->buttons8 : s->buttons;
#ifdef DEBUG_NDOF_BUTTONS
printf("button bits: 0x%08x\n", button_bits);
#endif
ndof_manager->updateButtons(button_bits, now);
ghost_system->notifyExternalEventProcessed();
break;