mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-22 16:20:54 +00:00
example/hog_mouse_demo: fix input report
This commit is contained in:
parent
009eb6c6d8
commit
2abb034c06
@ -167,7 +167,7 @@ static void hog_mouse_setup(void){
|
||||
|
||||
// HID Report sending
|
||||
static void send_report(uint8_t buttons, int8_t dx, int8_t dy){
|
||||
uint8_t report[] = { buttons, (uint8_t) dx, (uint8_t) dy, 0};
|
||||
uint8_t report[] = { buttons, (uint8_t) dx, (uint8_t) dy };
|
||||
switch (protocol_mode){
|
||||
case 0:
|
||||
hids_device_send_boot_mouse_input_report(con_handle, report, sizeof(report));
|
||||
|
Loading…
x
Reference in New Issue
Block a user