Skip to content

Instantly share code, notes, and snippets.

@pawl
Created April 26, 2020 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pawl/340d1050f595931a489c1ae6b7f091e5 to your computer and use it in GitHub Desktop.
Save pawl/340d1050f595931a489c1ae6b7f091e5 to your computer and use it in GitHub Desktop.
binding hotkey to change headset/speakers on windows
  1. download nircmd: https://www.nirsoft.net/utils/nircmd.html
  2. unzip to C:\
  3. go to sound devices and rename to simpler names without spaces (headphones/speakers)
  4. Open logitech gaming software and change 2 buttons to "shortcut" with these commands:
  • "C:/nircmd/nircmd/exe setdefaultsounddevice Speakers"
  • "C:/nircmd/nircmd/exe setdefaultsounddevice Headphones"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment