diff --git a/src/input_context.h b/src/input_context.h index 7af6fd10bfb90..d78d9f97b226b 100644 --- a/src/input_context.h +++ b/src/input_context.h @@ -82,8 +82,6 @@ class input_context } }; - std::vector registered_manual_keys; - // If true, prevent virtual keyboard from dismissing after a key press while this input context is active. // NOTE: This won't auto-bring up the virtual keyboard, for that use sdltiles.cpp is_string_input() bool allow_text_entry; @@ -416,7 +414,9 @@ class input_context input_event first_unassigned_hotkey( const hotkey_queue &queue ) const; input_event next_unassigned_hotkey( const hotkey_queue &queue, const input_event &prev ) const; private: - +#if defined(__ANDROID__) + std::vector registered_manual_keys; +#endif std::vector registered_actions; std::string edittext; public: