# Key Pressed

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/controls/events/key-pressed
>
> Key Pressed event, defined to capture a specific key or any key, also fired by Send Keys; use the KEYPRESSED keyword to get the key code.

This Event doesn’t exist by default. Still, you can define to capture the pressing of a specific key or any key (Key Pressed). If you choose to capture a specific key, the Event will be triggered when you press the defined key or by Action:\
\
\- [Send Keys](https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-others/send-keys.md)\
\
If you choose to capture any key, the Event will be triggered when you press any key or by Action:\
\
\- [Send Keys](https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-others/send-keys.md)

:::info
Pressing a key has 2 moments: pressing down the key and releasing the key. This Event is triggered on when pressing the specified key.
:::

:::info
Although Action ‘[Send Keys](https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-others/send-keys.md)’ can emulate a keyboard Event, if your intention is to simply execute the Actions of that Event, you should use Action ‘[Execute Event](https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-controls/execute-event.md)’. Notice that the ‘Send Keys’ Action sends a message to the windows queue and you don’t control the target of the message. When using the ‘[Execute Event](https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-controls/execute-event.md)’ no message is queued, Kalipso executes directly the Actions defined on the Event, without triggering the Event.
:::

:::info
* If you choose to capture any key, you can use Keyword [KEYPRESSED](https://doc.sysdevmobile.com/kalipso/6.1/documentation/expressions/functions/keywords/keypressed.md) to know its code.
:::

#### Event available on the following operating systems

![OS Supported: Android, iOS, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/01_Supported_OS-5c02a51fd5080a410a07ee3ef72b6872.png)
