Commit 83b5265
committed
feat(inputdevices): disable touchpad gestures when mouse is plugged in
Sync touchpad gesture state with touchpad hardware state in setDisableTemporary, so gestures are disabled together with the touchpad when a mouse is inserted and re-enabled when the mouse is removed.
插入鼠标禁用触控板时,同步禁用触控板手势;拔出鼠标时恢复手势。
Log: 插入鼠标禁用触控板时同步禁用手势
PMS: 360815
Influence: 开启"插入鼠标时禁用触控板"后,插入鼠标会同时禁用触控板手势,拔出后自动恢复。1 parent c355768 commit 83b5265
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
293 | 294 | | |
294 | 295 | | |
295 | 296 | | |
| |||
0 commit comments