| 86 | |
| 87 | private: |
| 88 | void m_handle(vrpn_BUTTONCB const &info) { |
| 89 | if (!m_all && !m_sensors.contains(info.button)) { |
| 90 | return; |
| 91 | } |
| 92 | |
| 93 | OSVR_TimeValue timestamp; |
| 94 | osvrStructTimevalToTimeValue(×tamp, &(info.msg_time)); |
| 95 | |
| 96 | m_report(timestamp, info.button, info.state); |
| 97 | } |
| 98 | void m_handle(vrpn_BUTTONSTATESCB const &info) { |
| 99 | auto maxChannel = m_all ? info.num_buttons - 1 : m_sensors.getValue(); |
| 100 | if (!m_all && |
no test coverage detected