> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso5/developing/form/expressions/functions/functions-descriptions/keywords/keypressed.md).

# KEYPRESSED

This Keyword returns a *\<numeric>*, the key code of the last pressed key.

{% hint style="warning" %}
You should use this Keyword in Actions of the [Key Pressed](/kalipso5/developing/form/controls/events/key-pressed.md) Event.
{% endhint %}

{% hint style="info" %}
See "Hardware Key Code" in [Devices ](/kalipso5/using/environment/file/devices.md)option (tab "Keys").
{% endhint %}
