ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
646 stars 74 forks source link

Pause Key #1137

Open Oddbrother opened 11 years ago

Oddbrother commented 11 years ago

The Pause key in Source games is either useless or being recognized as another key.

Some Source games default the Pause command to NUMLOCK. Others default it to PAUSE.

pausekey_default

The command does not work when it's bound to PAUSE.

pausekey_rebind

But it does when it's bound to NUMLOCK, making both the Pause and Num Lock keys use the same command. I even pressed the Pause key when I bound the command, and it still showed up on-screen as NUMLOCK.

I don't know if PAUSE in-game is considered a useless option to have when the key is tied with another key. What I do know is, it currently doesn't work on its own.

In fact it's useless on the Linux build I have, and my Mac is reserving the key as F15... to increase the brightness on my display monitor. This Num Lock tie-in only occurs on Windows.

Custom Desktop -Systems: Windows XP Pro; Ubuntu Studio (i386) -Processor: Intel Celeron E3400 @ 2600MHz -Physical Memory: 4096MB (2 x 2048 DDR2-SDRAM ) -GPU: XFX GeForce GTX 285 -Keyboard: Logitech G15 (Y-UG75)

MacBook Pro (13-inch, Mid 2009) -Mac OS X 10.7.5

tealsuki commented 11 years ago

That's really weird. On my system iirc the pause key is simply ESC. Using the devconsole key (~) will pause the game as well, but I'd love to hear what the root of this is.

kisak-valve commented 7 years ago

Assigning to the SDL dev.