Updated to raylib 3.5

Use GetCharPressed() instead of GetKeyPressed()
This commit is contained in:
Ray
2020-12-18 19:50:57 +01:00
parent 60605f01b6
commit 3b44da667b
2 changed files with 7 additions and 7 deletions

View File

@ -164,7 +164,7 @@ bool GuiTextEditor(Rectangle bounds, char *text, int textSize, bool editMode)
}
}
int key = GetKeyPressed();
int key = GetCharPressed();
// TODO: On key pressed, place new character in cursor position