Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

keyboard_lastchar

drewmccluskey edited this page Feb 12, 2019 · 4 revisions

keyboard_lastchar

variable with last used keyboard char

Returns: char

Description:

This is a variable holding the last used char key, you can use it for debugging as well as for writing in strings.

Example:

if (keyboard_check_pressed(Keys.Enter))
{
 show_debug_message(keyboard_lastchar.ToString());
}

This code will write the keyboard last char as a debug message when the Enter key is pressed.

Back to Keyboard

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /