Skip to content

Commit

Permalink
feat(docs): add documentation on &sleep behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
KemoNine committed Jan 30, 2021
1 parent 1b6d485 commit 0550b30
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/docs/behaviors/misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,22 @@ Example:
```
&none
```

## Sleep

The sleep behavior simply puts your keyboard to sleep. This behavior has the same effect as letting the sleep timer expire.

:::note
You'll need to enable `CONFIG_ZMK_SLEEP` in your boards config for this keycode to work.
:::

### Behavior Binding

- Reference: `&sleep`
- Parameters: None

Example:

```
&sleep
```

0 comments on commit 0550b30

Please sign in to comment.