Lines Matching refs:hidreport
194 uint8_t hidreport[9]; in toggle_os_keylockstates() local
196 memset(hidreport, 0, 9); in toggle_os_keylockstates()
197 hidreport[0] = 1; in toggle_os_keylockstates()
202 hidreport[reportIndex++] = (uint8_t)HID_REPORT_CAPSLOCK; in toggle_os_keylockstates()
207 hidreport[reportIndex++] = (uint8_t)HID_REPORT_NUMLOCK; in toggle_os_keylockstates()
212 hidreport[reportIndex++] = (uint8_t)HID_REPORT_SCROLLLOCK; in toggle_os_keylockstates()
216 log::verbose("| {:x} {:x} {:x}", hidreport[0], hidreport[1], hidreport[2]); in toggle_os_keylockstates()
217 log::verbose("| {:x} {:x} {:x}", hidreport[3], hidreport[4], hidreport[5]); in toggle_os_keylockstates()
218 log::verbose("| {:x} {:x} {:x}", hidreport[6], hidreport[7], hidreport[8]); in toggle_os_keylockstates()
219 bta_hh_co_write(fd, hidreport, sizeof(hidreport)); in toggle_os_keylockstates()
221 memset(hidreport, 0, 9); in toggle_os_keylockstates()
222 hidreport[0] = 1; in toggle_os_keylockstates()
224 log::verbose("| {:x} {:x} {:x}", hidreport[0], hidreport[1], hidreport[2]); in toggle_os_keylockstates()
225 log::verbose("| {:x} {:x} {:x}", hidreport[3], hidreport[4], hidreport[5]); in toggle_os_keylockstates()
226 log::verbose("| {:x} {:x} {:x}", hidreport[6], hidreport[7], hidreport[8]); in toggle_os_keylockstates()
227 bta_hh_co_write(fd, hidreport, sizeof(hidreport)); in toggle_os_keylockstates()