# KEYPRESSED

> Kalipso 5.0 documentation · https://doc.sysdevmobile.com/kalipso/5.0/developing/form/expressions/functions/functions-descriptions/keywords/keypressed

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

:::warning
You should use this Keyword in Actions of the [Key Pressed](https://doc.sysdevmobile.com/kalipso/5.0/developing/form/controls/events/key-pressed.md) Event.
:::

:::info
See "Hardware Key Code" in [Devices ](https://doc.sysdevmobile.com/kalipso/5.0/using/environment/file/devices.md)option (tab "Keys").
:::
