lovr.keyreleased

This callback is called when a key is released.

function lovr.keyreleased(key, scancode)
  -- your code here
end

Arguments

NameTypeDescription
keyKeyCode The key that was released.
scancodenumber The id of the key (ignores keyboard layout, may vary between keyboards).

Returns

Nothing

See also