| 120 | } |
| 121 | } |
| 122 | void m_report(OSVR_TimeValue const ×tamp, int32_t sensor, |
| 123 | vrpn_int32 state) { |
| 124 | OSVR_ButtonReport report; |
| 125 | report.sensor = sensor; |
| 126 | report.state = static_cast<uint8_t>(state); |
| 127 | for (auto &iface : m_interfaces) { |
| 128 | iface->triggerCallbacks(timestamp, report); |
| 129 | } |
| 130 | } |
| 131 | unique_ptr<vrpn_Button_Remote> m_remote; |
| 132 | common::InterfaceList &m_interfaces; |
| 133 | bool m_all; |
nothing calls this directly
no test coverage detected