All Products
Search
Document Center

DataV:device-input

Last Updated:Dec 02, 2024

This topic describes how to configure the Input Device Class node in Blueprint Editor. At present, the logical nodes in the input device only include the keyboard.

The keyboard

The Keyboard node is used to monitor keyboards.

Scenarios: The Keyboard node is used when it is involved in interactions. For example, you can use this node if you need to move a picture by using arrow keys.

Add a keyboard node to the blueprint canvas. You can view the events and actions supported by the keyboard node and the configuration parameters. For more information, see Use logical nodes.

image

Event /action parameters

Event /Action

Description

When any key is pressed

The event that is raised when any key on the keyboard is pressed.

When a character key is pressed

The event that is raised when a character key of the keyboard is pressed.

When the key is released

The event that is raised when the key is released.

When this key is triggered

The event that is raised when a particular key is triggered. You can customize multiple key values and corresponding trigger methods.

  • Key Value: Any key on the keyboard. Currently, only uppercase letters are supported.

  • Trigger Mode: includes keydowm, keyup, and keypress.