mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 03:30:50 +00:00
D_ModifierKeyResponder now checks for ev_console as a "key down" event
console window uses ev_keyup too so don't worry about turning off
This commit is contained in:
parent
823aa7d24d
commit
dc249c6cd5
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ UINT8 altdown = 0; // 0x1 left, 0x2 right
|
||||||
//
|
//
|
||||||
static inline void D_ModifierKeyResponder(event_t *ev)
|
static inline void D_ModifierKeyResponder(event_t *ev)
|
||||||
{
|
{
|
||||||
if (ev->type == ev_keydown) switch (ev->data1)
|
if (ev->type == ev_keydown || ev->type == ev_console) switch (ev->data1)
|
||||||
{
|
{
|
||||||
case KEY_LSHIFT: shiftdown |= 0x1; return;
|
case KEY_LSHIFT: shiftdown |= 0x1; return;
|
||||||
case KEY_RSHIFT: shiftdown |= 0x2; return;
|
case KEY_RSHIFT: shiftdown |= 0x2; return;
|
||||||
|
|
Loading…
Reference in a new issue