diff --git a/src/she/alleg4/she.cpp b/src/she/alleg4/she.cpp index 8ac8a308f..8681a356b 100644 --- a/src/she/alleg4/she.cpp +++ b/src/she/alleg4/she.cpp @@ -1,5 +1,5 @@ // SHE library -// Copyright (C) 2012-2016 David Capello +// Copyright (C) 2012-2017 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. @@ -202,6 +202,12 @@ public: } bool isKeyPressed(KeyScancode scancode) override { +#ifdef ALLEGRO_UNIX + if ((scancode == kKeyAlt) && + (key_shifts & KB_ALT_FLAG)) { + return true; + } +#endif return key[she_to_alleg_scancode(scancode)] ? true: false; }