AMDHotkeys is a PowerShell module for managing AMD Radeon Software hotkeys via the Windows registry. It provides functions to enable, disable, clear, and restore hotkeys.
AMD Radeon Software was registering the Alt+Z hotkey (even after disabling hotkeys in the app), which prevented Visual Studio Code from using Alt+Z to toggle word wrap. This module provides a quick way to forcibly disable AMD Radeon Software hotkeys.
To install the AMDHotkeys module from the PowerShell Gallery, run the following command in PowerShell:
Install-Module -Name AMDHotkeysAlternatively, to install the module manually, follow these steps:
- Download the module files.
- Place the
AMDHotkeysfolder in one of the following locations:$HOME\Documents\WindowsPowerShell\Modules$PSModulePath(check the current paths using$env:PSModulePath)
To use the module, first import it into your PowerShell session:
Import-Module AMDHotkeys-
Test-AMDHotkeysEnabled
- Checks if AMD Radeon Software hotkeys are currently enabled.
-
Disable-AMDHotkeys
- Disables AMD Radeon Software hotkeys.
-
Enable-AMDHotkeys
- Enables AMD Radeon Software hotkeys.
-
Clear-AMDHotkeys
- Clears all AMD Radeon Software hotkey bindings.
-
Restore-AMDHotkeys
- Restores default AMD Radeon Software hotkey bindings.
To disable AMD hotkeys, you can run:
Disable-AMDHotkeysTo enable AMD hotkeys, you can run:
Enable-AMDHotkeysTo remove all hotkey assignments, you can run:
Clear-AMDHotkeysTo restore all hotkeys to their default assignments, you can run:
Restore-AMDHotkeysThis project is licensed under the MIT License.