Code: Select all
function love.update(dt)
if love.keyboard.isDown('h') then
print('h')
end
end
Code: Select all
attempt to index field 'keyboard' (a nil value)
EDIT: Of course I figured it out one minute after I posted this...
I had
Code: Select all
t.modules.keyboard = false
Oops....
I guess I'll leave this thread up for anybody who repeats my mistake.