Code: Select all
function love.keypressed(key)
print(key, love.keyboard.isDown('ralt'))
Code: Select all
ralt false
To make sure it's not necessarily my machine settings, I've also tested a C SDL program.
Code: Select all
const Uint8 *state = SDL_GetKeyboardState(NULL);
// In a loop...
if (state[SDL_SCANCODE_RALT]) {
printf("<RALT> is pressed.\n");
}