From 8092cfc0a7fa84e02657d582312eae256045914b Mon Sep 17 00:00:00 2001 From: Deve Date: Sat, 8 Oct 2016 21:25:56 +0200 Subject: [PATCH] Fixed displaying some special characters in keys binding in options. It most probably needs to be done this way since commit 2096532d0e654a2f67c968879a86e1b4b8298007. I don't know what about OSX, so I enabled it only for linux. --- src/input/binding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/binding.cpp b/src/input/binding.cpp index 4784d0a04..1c307e870 100644 --- a/src/input/binding.cpp +++ b/src/input/binding.cpp @@ -96,7 +96,7 @@ irr::core::stringw Binding::getAsString() const switch(m_id) { -#ifdef WIN32 +#if defined(WIN32) || (defined(__linux__) && !defined(ANDROID)) // Windows codes certain special keys, which have atm no defined // value in irr::KEY_*. So for now hardcode the values. // FIXME: what happens with international keyboards? E.g. A [