Skip to content

Instantly share code, notes, and snippets.

@neo-razgriz
neo-razgriz / fix_gamedac_game.ps1
Last active December 28, 2023 14:06
Disable and Enable GameDAC Game to make it appear on the Output Devices list
param([switch]$Elevated)
# Run elevated powershell that can execute scripts
# Source: https://superuser.com/questions/108207/how-to-run-a-powershell-script-as-administrator
function Test-Admin {
$currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent())
$currentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)
}
@neo-razgriz
neo-razgriz / Zoom PTT.lua
Last active August 6, 2024 04:53
Zoom PTT for Logitech G HUB
--[[ ZOOM PTT FOR LOGITECH G
PREREQUISITES:
- Logitech G compatible mouse
- Following checkboxes are checked in Zoom preferences:
- Keyboard Shortcuts -> Mute/Unmute My Audio -> Enable Global Shortcut
- Audio -> Mute my mic when joining a meeting
- Audio -> Automaically join computer audio when joining a meeting
INSTALLATION: