By boviex
Date 2014-09-18 01:42
Edited 2014-09-18 02:09
I'm trying out Gosu, and it's going pretty well, except that for some reason, the Esc key is not working.
For starters, I'm running Gosu 0.8.4 x86 with Ruby 1.9.3 on Win8 x64 on a Dell Inspiron 14 7437.
I threw together a quick program that shows the button code for whatever button was pressed:
def draw
@background_image.draw(0,0,0)
@font.draw("Button pressed: #{@button}", 10, 10, 1, 1.0, 1.0, 0xffffff00)
end
def button_down(id)
@button = id
end
This way, I can see that almost all the buttons have codes (letters, numbers, directions, shift, alt, ctrl, win etc.), even the numpad keys will work using the Onscreen Keyboard.
The only buttons that don't work are Esc (Onscreen Keyboard ESC also doesn't work), fn + F10-12 (even fn + F1-9 work), and the Airplane Mode key.
Does anyone know what the problem could be?
Loading...