Skip to content

Commit

Permalink
docs(KeyboardControls): add mention of QWERTY/non-QWERTY layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
andretchen0 committed Dec 25, 2024
1 parent 8155f16 commit 1d410b3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/guide/controls/keyboard-controls.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# KeyboardControls

KeyboardControls is a special type of controller that allows you to move through the scene using your keyboard, is based on the Unreal Engine Controls.

<DocsDemo>
<KeyboardControlsDemo />
</DocsDemo>

`<KeyboardControls />` is a simple keyboard controller for the camera. The camera's movements are bound to:

* WASD on QWERTY keyboards or equivalent keys on non-QWERTY keyboards
* Arrow keys

::: info
:memo: KeyboardControls uses `PointerLockControls` under the hood, meaning you can use [all the props from `<PointerLockControls />`](pointer-lock-controls#props) as well as it events.
:::
Expand Down

0 comments on commit 1d410b3

Please sign in to comment.