aboutsummaryrefslogtreecommitdiff
path: root/tests/test_common/pointing_device_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_common/pointing_device_driver.c')
-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) {