daily update on 20240508 by nitload youmu, partical added
This commit is contained in:
@@ -201,10 +201,17 @@ namespace StgSharp
|
||||
protected override void ProcessInput()
|
||||
{
|
||||
float movement = 0.005f;
|
||||
|
||||
if (InternalIO.glfwGetKey(CanvasHandle, (int)KeyboardKey.ESCAPE)
|
||||
== KeyStatus.PRESS)
|
||||
{
|
||||
InternalIO.glfwSetWindowShouldClose(CanvasHandle, 1);
|
||||
return;
|
||||
}
|
||||
if (InternalIO.glfwGetKey(CanvasHandle, (int)KeyboardKey.LEFT_SHIFT)
|
||||
== KeyStatus.PRESS)
|
||||
{
|
||||
movement = 0.002f;
|
||||
}
|
||||
if (InternalIO.glfwGetKey(this.CanvasHandle, GLconst.GLFW_KEY_UP) == KeyStatus.PRESS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user