From 78f3ac21bde6fbdc64ece3d036e525fb7b0ce8f1 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Mon, 8 Feb 2021 17:37:59 +0100 Subject: [PATCH] Fix typo in comment and add reference --- touchpad-control.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/touchpad-control.cpp b/touchpad-control.cpp index f2af8f6..b663e5d 100644 --- a/touchpad-control.cpp +++ b/touchpad-control.cpp @@ -114,7 +114,8 @@ int set_touchpad_state(int enabled) { } else { // to enable touchpad send "0x03" as feature report nr.7 (0x07) to the touchpad hid device - // to disable it send "0x030" + // to disable it send "0x00" + // Reference: https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/touchpad-configuration-collection#selective-reporting-feature-report char buffer[2] = {0x07, 0x00}; if (enabled) { buffer[1] = 0x03;