diff options
author | piernov <piernov@piernov.org> | 2014-03-13 17:07:56 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2014-03-13 17:07:56 +0100 |
commit | c8be2bab33a0fd064cb670b6dd993ff5b49180e7 (patch) | |
tree | 0692e25a01cff1139aafb54087a7bfb9980e77df | |
parent | 52d06037d13afdc68384f1031766ac087cb5e70e (diff) | |
download | Quickie-master.tar.gz Quickie-master.tar.bz2 Quickie-master.tar.xz Quickie-master.zip |
-rw-r--r-- | input.lua | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -43,6 +43,12 @@ return function(w) keyboard.makeCyclable(id) if mouse.isActive(id) then keyboard.setFocus(id) end + if keyboard.hasFocus(id) then + love.keyboard.setTextInput(true) + else + love.keyboard.setTextInput(false) + end + if not keyboard.hasFocus(id) then --[[nothing]] -- editing |