1
0
Fork 0
mirror of https://github.com/tuxedocomputers/tuxedo-touchpad-switch.git synced 2025-01-18 11:41:10 +01:00

Fix typo in comment and add reference

This commit is contained in:
Werner Sembach 2021-02-08 17:37:59 +01:00
parent 9db712c6bb
commit 78f3ac21bd

View file

@ -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;