mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 08:51:08 +00:00
- transitioned the local input handler.
There wasn't anything EDuke32-specific in there - nearly everything mapped perfectly to JFDuke.
This commit is contained in:
parent
a0cd407632
commit
ea6c74d0e6
15 changed files with 244 additions and 190 deletions
|
@ -277,6 +277,8 @@ void FKeyboard::PostKeyEvent(int key, INTBOOL down, bool foreground)
|
|||
}
|
||||
ev.data1 = key;
|
||||
ev.data2 = Convert[key];
|
||||
ev.data3 = 0;
|
||||
if (CheckKey(DIK_LSHIFT) || CheckKey(DIK_RSHIFT)) ev.data3 |= 1;
|
||||
D_PostEvent(&ev);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue