if Input.get_letters == "A"
if Input.get_letters != nil
a_pressed = Input.press?(Input::A)
b_pressed = Input.press?(Input::B)
# ...
if a_pressed && b_pressed # && ...
# your code
# ...
module Input
def self.any_button_pressed?
for c in [A, B, C, X, Y, Z, L, R, ALT, SHIFT, CTRL]
return true if self.press?(c)
end
return false
end
end