OSX FPS run key is toggle instead of press/relase

When playing Borderlands and Call of Duty 4 on OSX (running Yosemite), the shift key toggles running, and I have to press it again to stop running instead of simply letting it go. How do I fix this so letting go of shift will cease running?
The shift as a toggle vs press/release is not a configurable option in either of the games I'm playing. On windows shift performs normally, but on OSX it does not.
I've talked to people in COD4, most of them say run is not a toggle for them. I've even talked to OSX users on there (one of them is even running El Capitan, while I'm still on Yosemite) and they say they don't have the same issue I do. Run ceases as soon as they let go of shift.
I've even tried binding sprint to other keys, but I still get the same issue where it toggles.
Best Answer
Lots of games have an option to change this in settings as per alexanderpas's answer. However lots of games do not have an option for this but you can still accomplish this in any game, regardless of the settings, with AHK (Auto Hotkey).
(Since you are on a Mac you will need to use an alternative to AutoHotkey, IronAHK is a cross platform rewrite of AutoHotkey so the below script should still work.)
Make sure you've installed AHK then use the below scripts to change the behavior. (you may need to change the name of the window)
To make a toggle behave like a hold (rebind sprint to end):
LShift::
While (GetKeyState("LShift", "P"))
Send, {End Down}
Send, {End Up}
Return
To make a hold behave like a toggle (rebind sprint to end):
#IfWinActive, Call of Duty
SetTimer, Toggler, 100
$LShift::toggle := !toggle
Toggler:
if (toggle = true)
Send, {LShift down}
else
Send, {LShift up}
Return
Pictures about "OSX FPS run key is toggle instead of press/relase"



What is the alternative for Run command in Mac?
Answer: A: Finder, Go Menu, Connect to Server... Put smb:// in front of the path. Oh, and while not equivalent, the Terminal application allows you access to the unix command line.How do I turn off Sticky Keys on Mac?
To quickly turn Sticky Keys and Slow Keys on or off using the Accessibility Shortcuts panel, press Option-Command-F5 (or if your Mac or Magic Keyboard has Touch ID, quickly press Touch ID three times).Why are my function keys not working Mac?
Select System Preferences from the Apple drop-down menu. On the System Preferences dialog box, select the Keyboard icon. Deselect the Use F1, F2, etc. keys as standard function keys check box.How do you fix Sticky Keys on an Apple?
Mac OS X: Sticky KeysHow to run x-force in macOS BigSur
More answers regarding oSX FPS run key is toggle instead of press/relase
Answer 2
Generally, this is a setting you can change in the settings for each of the games, usually under controls, movement, and can be changed between hold to run, and toggle
Answer 3
Is it possible you have accidentally turned on Sticky Keys?
You can disable Sticky Keys by choosing the Apple menu > System Preferences, click Accessibility, then click Keyboard. Disable Sticky Keys and see if the problem goes away.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Charles Parker, Charles Parker, Charles Parker, Charles Parker