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:
parent
9db712c6bb
commit
78f3ac21bd
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue