love.keyboard.isDown("ralt") not working

Issue #1376 duplicate
Winterwolf
created an issue

This code do nothing on xubuntu 17.10:

function love.update()
  if love.keyboard.isDown("ralt") then
    print("ALT!?")
  end
end

... but anything else, like "lalt" or "rctrl" works fine!

and this code detect "ralt" without problems, so this is not a hardware issue

function love.keyreleased(key)
  print(key)
end

Comments (6)

  1. Fivos Moutavelis

    Testing on my ubuntu 16.04:

    Right alt button works, although it spams the print function. Has probably something to do with the command window popping up, unfocusing the window.

  2. Log in to comment