Well I can't find a way to reproduce a problem with this. I can type both 'a' as well as 'A' in the console. Can you give us some information about your exact problem with SHIFT and the console?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is caused by the way keys.c::Key_Event() handling the key down events. See around line 927:
// key up events only generate commands if the game key binding is
// a button command (leading + sign). These will occur even in console mode,
// to keep the character from continuing an action started before a console
// switch. Button commands include the kenum as a parameter, so multiple
// downs can be matched with ups
//
if (!down)
{
kb = keybindings[key];
if (kb && kb[0] == '+')
{
sprintf (cmd, "-%s %i\n", kb+1, key);
Cbuf_AddText (cmd);
}
if (keyshift[key] != key)
{
kb = keybindings[keyshift[key]];
if (kb && kb[0] == '+')
{
sprintf (cmd, "-%s %i\n", kb+1, key);
Cbuf_AddText (cmd);
}
}
return;
}
This is also the cause for the annoying barmovdn.wav sound playback when you hit the TAB key when in the console mode. I am not sure what would be the best "fix" for this. Low priority for now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks. Will look into.
Well I can't find a way to reproduce a problem with this. I can type both 'a' as well as 'A' in the console. Can you give us some information about your exact problem with SHIFT and the console?
This is caused by the way keys.c::Key_Event() handling the key down events. See around line 927:
// key up events only generate commands if the game key binding is
// a button command (leading + sign). These will occur even in console mode,
// to keep the character from continuing an action started before a console
// switch. Button commands include the kenum as a parameter, so multiple
// downs can be matched with ups
//
if (!down)
{
kb = keybindings[key];
if (kb && kb[0] == '+')
{
sprintf (cmd, "-%s %i\n", kb+1, key);
Cbuf_AddText (cmd);
}
if (keyshift[key] != key)
{
kb = keybindings[keyshift[key]];
if (kb && kb[0] == '+')
{
sprintf (cmd, "-%s %i\n", kb+1, key);
Cbuf_AddText (cmd);
}
}
return;
}
This is also the cause for the annoying barmovdn.wav sound playback when you hit the TAB key when in the console mode. I am not sure what would be the best "fix" for this. Low priority for now.