mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- removed the mouse wheel up event hackery
With the weapon cycling commands being done as CCMDs this is no longer needed.
This commit is contained in:
parent
c09a5150a9
commit
b88a279a57
1 changed files with 0 additions and 22 deletions
|
@ -168,28 +168,6 @@ int32_t handleevents(void)
|
|||
|
||||
timerUpdateClock();
|
||||
|
||||
// The mouse wheel is not a real key so in order to be "pressed" it may only be cleared at the end of the tic (or the start of the next.)
|
||||
if (inputState.GetKeyStatus(KEY_MWHEELUP))
|
||||
{
|
||||
event_t ev = { EV_KeyUp, 0, (int16_t)KEY_MWHEELUP };
|
||||
D_PostEvent(&ev);
|
||||
}
|
||||
if (inputState.GetKeyStatus(KEY_MWHEELDOWN))
|
||||
{
|
||||
event_t ev = { EV_KeyUp, 0, (int16_t)KEY_MWHEELDOWN };
|
||||
D_PostEvent(&ev);
|
||||
}
|
||||
if (inputState.GetKeyStatus(KEY_MWHEELLEFT))
|
||||
{
|
||||
event_t ev = { EV_KeyUp, 0, (int16_t)KEY_MWHEELLEFT };
|
||||
D_PostEvent(&ev);
|
||||
}
|
||||
if (inputState.GetKeyStatus(KEY_MWHEELRIGHT))
|
||||
{
|
||||
event_t ev = { EV_KeyUp, 0, (int16_t)KEY_MWHEELRIGHT };
|
||||
D_PostEvent(&ev);
|
||||
}
|
||||
|
||||
I_StartFrame();
|
||||
I_StartTic();
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue