From 0b328a30d90b54d519b2eb43bfefbaf3a6c2b999 Mon Sep 17 00:00:00 2001 From: rxi Date: Fri, 13 Jan 2017 22:22:46 +0000 Subject: [PATCH] Updated doc/api.md for keypressed/released callback changes --- doc/api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api.md b/doc/api.md index 79ae865..cfabd8e 100644 --- a/doc/api.md +++ b/doc/api.md @@ -287,12 +287,12 @@ place in this function. ##### love.keypressed(key, code, isrepeat) Called when the user presses a key. `key` is the key that was pressed, `code` is -the raw integer scancode value for the pressed key, `isrepeat` is true if -this key press event is a repeat. +the scancode of the pressed key, `isrepeat` is true if this key press event is a +repeat. ##### love.keyreleased(key, code) Called when the user releases a key. `key` is the key that was released, `code` -is the raw integer scancode value for the released key. +is the scancode for the released key. ##### love.textinput(text) Called when text has been entered by the user. For example if shift-2 is pressed