diff options
Diffstat (limited to 'reference.md')
-rw-r--r-- | reference.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/reference.md b/reference.md index 3234cfa..525ae86 100644 --- a/reference.md +++ b/reference.md @@ -251,8 +251,7 @@ visible on screen. ### keyboard primitives -* `App.modifier_down(key)` -- returns `true` if the given key (doesn't - actually have to be just a modifier) is currently pressed. +* `App.key_down(key)` -- returns `true` if the given key is currently pressed. (Based on [LÖVE](https://love2d.org/wiki/love.keyboard.isDown).) ### interacting with files |