mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21:14:35 +00:00
Removed superfluous comments.
This commit is contained in:
parent
cdcf3be462
commit
38e4cc3dad
@ -479,12 +479,8 @@ static void processSingleEvent(void)
|
|||||||
if (window == NULL)
|
if (window == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Translate and report key press
|
|
||||||
_glfwInputKey(window, translateKey(event.xkey.keycode), GLFW_PRESS);
|
_glfwInputKey(window, translateKey(event.xkey.keycode), GLFW_PRESS);
|
||||||
|
|
||||||
// Translate and report character input
|
|
||||||
_glfwInputChar(window, translateChar(&event.xkey));
|
_glfwInputChar(window, translateChar(&event.xkey));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -521,9 +517,7 @@ static void processSingleEvent(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Translate and report key release
|
|
||||||
_glfwInputKey(window, translateKey(event.xkey.keycode), GLFW_RELEASE);
|
_glfwInputKey(window, translateKey(event.xkey.keycode), GLFW_RELEASE);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user