M1 | M2 | 055 | 001
|Summary:||certain keys not working|
|Product:||Odamex||Reporter:||Russell Rice <russell>|
|Component:||Client||Assignee:||Odamex Bug Reporter <odamex-bug-reporter>|
Description Russell Rice 2016-09-17 18:54:51 UTC
Keys such as caps lock, scroll lock and num lock do not work while in game. for example we have a default bind to toggle cl_run to capslock Another is the Print Screen/SysRq button, which is used for generating screenshots. This does not work while in game and it also creates a "lag" effect on the game loop if held down
Comment 1 Dr. Sean 2016-09-25 18:32:27 UTC
This appears to break in trunk with r5371, where the inputabs branch was merged into trunk.
Comment 2 Dr. Sean 2016-09-26 23:36:18 UTC
The key binding system used hard-coded SDL key codes for associating key name strings (such as "bind capslock +jump") instead of the codes defined in doomkeys.h. There are still some keys without codes defined in doomkeys.h which will need to be assigned codes before this can be closed: F13, F14, F15, numlock, lwin, rwin, help, sysrq, break
Comment 3 Dr. Sean 2016-09-27 21:52:48 UTC
r5487 should address these issues. Please test the PrintScreen/SysRq issue specifically though.
Comment 4 Russell Rice 2016-09-28 00:12:16 UTC
in r5487 it would not work, r5488 works but instead of being sysrq, it is now print if the screenshot key is rebound in the options menu
Comment 5 Ralph Vickers 2016-11-11 22:03:32 UTC
Tested this on 24889a9 and can confirm that all of those assigned codes work but printscreen/sysrq is not bindable from the customize controls menu
Comment 6 Dr. Sean 2020-04-21 01:55:34 UTC
@Ralphis are you still unable to bind the Print Screen key in 0.8.3?