aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_common
diff options
context:
space:
mode:
authorDasky2025-06-14 14:55:35 +0200
committerGitHub2025-06-14 14:55:35 +0200
commit7919848324076250894542c12adcd6781c99b9d1 (patch)
tree3cb4195fb6777ae6f3c38195b37d7e38af383a4f /tests/test_common
parenta4436b32df94fd32a5101d32f51a6373dc832181 (diff)
Add core handling for pointing device failures. (#25315)
Diffstat (limited to 'tests/test_common')
-rw-r--r--tests/test_common/pointing_device_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_common/pointing_device_driver.c b/tests/test_common/pointing_device_driver.c
index b64dbad506..42c7a814a4 100644
--- a/tests/test_common/pointing_device_driver.c
+++ b/tests/test_common/pointing_device_driver.c
@@ -22,8 +22,9 @@ typedef struct {
static pd_config_t pd_config = {0};
-void pointing_device_driver_init(void) {
+bool pointing_device_driver_init(void) {
pd_set_init(true);
+ return pd_config.initiated;
}
report_mouse_t pointing_device_driver_get_report(report_mouse_t mouse_report) {