chore: update Virtual HID requirements and mouse refresh (#5547)

This commit is contained in:
Dave Lane authored and GitHub committed 2026-08-23 14:44:37 -04:00
1 parent 7a59212a75
commit 05b49f0d87
17 files changed
+207 -75

No files matched your search

+10
View File
@@ -31,6 +31,7 @@ extern "C" {
#include "input.h"
#include "logging.h"
#include "platform/common.h"
#include "platform/virtualhid_input.h"
#include "thread_pool.h"
#include "utility.h"
@@ -2090,6 +2091,15 @@ namespace input {
});
}
void refresh_virtual_mouse() {
dispatch_input_task([]() {
if (platf_input) {
reset_mouse_buttons();
platf::virtualhid::get_input_context(platf_input).refresh_mouse();
}
});
}
/**
* @brief Allocate and initialize platform input state for a stream.
*/