From a195dd15d4373ff0e240566795ff7795ca7485e6 Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Wed, 17 Aug 2016 00:12:28 -0400 Subject: NDOF: suppress buttons debug log Accidentally left this in the 3D mouse code. Mac only. --- intern/ghost/intern/GHOST_NDOFManagerCocoa.mm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern/ghost') diff --git a/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm b/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm index 6fee39dcb82..b56757cd0fe 100644 --- a/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm +++ b/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm @@ -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; -- cgit v1.2.3