KeyboardInput Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | KeyboardInput

Qt 5.6.2 Reference Documentation

# KeyboardInput Class

(Qt3DInput::Input::KeyboardInput)

Inherits: | Qt3DCore::QBackendNode

- List of all members, including inherited members

## Public Functions

| KeyboardInput()
bool | isEnabled() const
void | keyEvent(const QKeyEventPtr &event)
Qt3DCore::QNodeId | keyboardController() const
void | setFocus(bool focus)
void | setInputHandler(InputHandler *handler)
void | updateFromPeer(Qt3DCore::QNode *peer)

- 5 public functions inherited from Qt3DCore::QBackendNode

## Protected Functions

void | requestFocus()
void | sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)
void | setController(const Qt3DCore::QNodeId &controller)

- 3 protected functions inherited from Qt3DCore::QBackendNode

## Member Function Documentation

### KeyboardInput::KeyboardInput()

Default constructs an instance of KeyboardInput.

### bool KeyboardInput::isEnabled() const

### void KeyboardInput::keyEvent(const QKeyEventPtr &event)

### Qt3DCore::QNodeId KeyboardInput::keyboardController() const

### `[protected]` void KeyboardInput::requestFocus()

### `[protected]` void KeyboardInput::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)

### `[protected]` void KeyboardInput::setController(const Qt3DCore::QNodeId &controller)

### void KeyboardInput::setFocus(bool focus)

### void KeyboardInput::setInputHandler(InputHandler *handler)

### void KeyboardInput::updateFromPeer(Qt3DCore::QNode *peer)