mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 06:41:41 +00:00
- Added a label for the F16 key and mapped the kp= key on a Mac keyboard to
the PC98 equivalent so it would be recognized as kp=. (Interestingly, F13- F16 and kp= only generate events when using Raw Input, not when using DirectInput. SVN r1639 (trunk)
This commit is contained in:
parent
d30e304a7f
commit
7df2d40e8f
3 changed files with 12 additions and 2 deletions
|
@ -1,4 +1,10 @@
|
|||
June 5, 2009 (Changes by Graf Zahl)
|
||||
June 5, 2009
|
||||
- Added a label for the F16 key and mapped the kp= key on a Mac keyboard to
|
||||
the PC98 equivalent so it will be identified as kp=. (Interestingly, F13-
|
||||
F16 and kp= only generate events when using Raw Input, not when using
|
||||
DirectInput.
|
||||
|
||||
June 5, 2009 (Changes by Graf Zahl)
|
||||
- Added MF6_FORCEPAIN flag that forces the target to go into the pain state
|
||||
regardless of pain chance.
|
||||
- Changed screenblocks CVAR to be settable per game.
|
||||
|
|
|
@ -179,7 +179,7 @@ const char *KeyNames[NUM_KEYS] =
|
|||
"kp8", "kp9", "kp-", "kp4", "kp5", "kp6", "kp+", "kp1", //48
|
||||
"kp2", "kp3", "kp0", "kp.", NULL, NULL, "oem102", "f11", //50
|
||||
"f12", NULL, NULL, NULL, NULL, NULL, NULL, NULL, //58
|
||||
NULL, NULL, NULL, NULL, "f13", "f14", "f15", NULL, //60
|
||||
NULL, NULL, NULL, NULL, "f13", "f14", "f15", "f16", //60
|
||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, //68
|
||||
"kana", NULL, NULL, "abnt_c1", NULL, NULL, NULL, NULL, //70
|
||||
NULL, "convert", NULL, "noconvert",NULL, "yen", "abnt_c2", NULL, //78
|
||||
|
|
|
@ -228,6 +228,10 @@ void FKeyboard::PostKeyEvent(int key, INTBOOL down, bool foreground)
|
|||
key = DIK_LSHIFT;
|
||||
}
|
||||
}
|
||||
if (key == 0x59)
|
||||
{ // Turn kp= on a Mac keyboard into kp= on a PC98 keyboard.
|
||||
key = DIK_NUMPADEQUALS;
|
||||
}
|
||||
|
||||
// Generate the event, if appropriate.
|
||||
if (down)
|
||||
|
|
Loading…
Reference in a new issue