lovr.keyreleased

This callback is called when a key is released.

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

Arguments

NameTypeDescription
keyKeyCodeThe key that was released.
scancodenumberThe id of the key (ignores keyboard layout, may vary between keyboards).

Returns

Nothing

See also