# 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](https://doc.sysdevmobile.com/kalipso5/developing/form/controls/events/key-pressed) Event.
{% endhint %}

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