| 79 | } |
| 80 | |
| 81 | void OSVR_DeviceInitObject::setButtons( |
| 82 | OSVR_ChannelCount num, osvr::connection::ButtonServerInterface **iface) { |
| 83 | if (setOptional(num, iface, m_buttons)) { |
| 84 | m_buttonIface = iface; |
| 85 | } else { |
| 86 | m_buttonIface = nullptr; |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | void OSVR_DeviceInitObject::returnButtonInterface( |
| 91 | osvr::connection::ButtonServerInterface &iface) { |
no test coverage detected