diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-08-17 07:12:28 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-08-18 07:22:18 +0300 |
commit | a195dd15d4373ff0e240566795ff7795ca7485e6 (patch) | |
tree | a7d4d9f80a11cdb4b236c97c628e754fc956c919 | |
parent | f92a6b8d1bea43d7b539d3e268913100257db981 (diff) |
NDOF: suppress buttons debug log
Accidentally left this in the 3D mouse code. Mac only.
-rw-r--r-- | intern/ghost/intern/GHOST_NDOFManagerCocoa.mm | 2 |
1 files changed, 2 insertions, 0 deletions
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; |