Skip to content

Commit f33894a

Browse files
Merge pull request #71 from bluecadet/feature/disable-touch-gestures
Feature/disable touch gestures
2 parents f43492d + acd0ef8 commit f33894a

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

.changeset/famous-turtles-yawn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bluecadet/launchpad-scaffold": minor
3+
---
4+
5+
Added ability to disable 3 & 4 finger touch gestures

packages/scaffold/config/defaults.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ $global:LaunchpadConfig.Windows.DisableNewsAndInterests = $true
5757
$global:LaunchpadConfig.Windows.DisableNotifications = $true
5858
$global:LaunchpadConfig.Windows.DisableScreensaver = $true
5959
$global:LaunchpadConfig.Windows.DisableTouchFeedback = $true
60+
$global:LaunchpadConfig.Windows.DisableTouchGestures = $true
6061
$global:LaunchpadConfig.Windows.DisableUpdateCheck = $true
6162
$global:LaunchpadConfig.Windows.DisableUpdateService = $true
6263
$global:LaunchpadConfig.Windows.EnableScriptExecution = $true
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
Import-Module -DisableNameChecking $PSScriptRoot/../vendor/force-mkdir.psm1
3+
4+
force-mkdir "HKCU:\Control Panel\Desktop"
5+
6+
# See https://answers.microsoft.com/en-us/windows/forum/all/windows-1011-touch-gesture/af9a6d19-8aa6-4d26-9693-55aa591110b3
7+
Set-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name "TouchGestureSetting" -Type DWord -Value 0

packages/scaffold/setup.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ if ($LaunchpadConfig.Windows.DisableNewNetworkWindow) { RunScript ./scripts/wind
9797
if ($LaunchpadConfig.Windows.DisableNewsAndInterests) { RunScript ./scripts/windows/disable_news_and_interests.ps1 "Disable News and Interests toolbar?" }
9898
if ($LaunchpadConfig.Windows.DisableNotifications) { RunScript ./scripts/windows/disable_notifications.ps1 "Disable notifications?" }
9999
if ($LaunchpadConfig.Windows.DisableScreensaver) { RunScript ./scripts/windows/disable_screensaver.ps1 "Disable screensaver?" }
100-
if ($LaunchpadConfig.Windows.DisableTouchFeedback) { RunScript ./scripts/windows/disable_touch_feedback.ps1 "Disable touch feedback and gestures?" }
100+
if ($LaunchpadConfig.Windows.DisableTouchFeedback) { RunScript ./scripts/windows/disable_touch_feedback.ps1 "Disable touch feedback?" }
101+
if ($LaunchpadConfig.Windows.DisableTouchGestures) { RunScript ./scripts/windows/disable_touch_gestures.ps1 "Disable touch gestures?" }
101102
if ($LaunchpadConfig.Windows.DisableUpdateCheck) { RunScript ./scripts/windows/disable_update_check.ps1 "Disable update checks?" }
102103
if ($LaunchpadConfig.Windows.DisableUpdateService) { RunScript ./scripts/windows/disable_update_service.ps1 "Disable update service?" }
103104
if ($LaunchpadConfig.Windows.DisableAppInstalls) { RunScript ./scripts/windows/disable_app_installs.ps1 "Disable automatic Windows app installs?" }

0 commit comments

Comments
 (0)