Bug 6070 - Allow vanilla q3 style caps and num lock binds?
Status: RESOLVED INVALID
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: All All
: P3 enhancement
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2013-11-24 05:46 EST by Zack Middleton
Modified: 2014-08-28 21:41:02 EDT
1 user (show)

See Also:



Description Zack Middleton 2013-11-24 05:46:55 EST
Should a cvar (such as in_disableLockKeys) be added to control whether caps lock and num lock should run bind key up event on second press (current behavior) or run bind key up on release (like vanilla q3)?

SDL_putenv("SDL_DISABLE_LOCK_KEYS=1"); restores original q3 behavior.

Reported by IR4T4 from etlegacy.
Comment 1 Donny Springer 2013-11-26 18:47:18 EST
The SDL_DISABLE_LOCK_KEYS flag was removed in SDL2.

SDL_DISABLE_LOCK_KEYS=1 is basically the default behavior now (in SDL2) and there is no flag to ENABLE as far as I know.
Comment 2 Zack Middleton 2014-08-28 21:41:02 EDT
Now that ioq3 uses SDL 2, vanilla behavior is restored. I'm not planning to add option for SDL 1.2 method.