I use a 1992 IBM Model M and have been working on a little .ahk for more modern functionality. I add to this when I figure new things out. Here is the current version that I have set to run at windows start:
RAlt::RWin ; Changes right Alt to a Win key
NumpadUp::Send {Volume_Up 5} ; increase sound level
NumpadDown::Send {Volume_Down 5} ; decrease sound level
NumpadClear::Send {Volume_Mute} ; Mute sound
NumpadRight::Send {LCtrl down}{Tab}{LCtrl up} ; Next tab (ctrl+tab)
NumpadLeft::Send {Shift down}{LCtrl down}{Tab}{LCtrl up}{Shift up} ; Previous tab (ctrl+tab)
; NumpadMult::Send {Shift down}{LCtrl down}{Esc}{LCtrl up}{Shift up} ; Task manager
; NumpadDiv::Run, http://google.com ; Browser to Google
NumpadIns::Send {Media_Play_Pause} ; Pause/play media track
NumpadEnd::Send {Media_Prev} ; Previous media track
NumpadPgDn::Send {Media_Next} ; Next media track
NumpadHome::Run, powershell.exe -ExecutionPolicy Bypass -file C:\Adam_Files\Realtek.ps1
; changes audio output to speakers using PowerShell
NumpadPgUp::Run, powershell.exe -ExecutionPolicy Bypass -file C:\Adam_Files\Yeti.ps1
; changes audio output to headphones using PowerShell