Home
last modified time | relevance | path

Searched refs:hidreport (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Bluetooth/system/btif/src/
Dbtif_hh.cc194 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()
[all …]