constexpr #endif static inline bool HasCursorKeys() { /* we assume that all Windows (CE) devices have cursor keys; some do not, but that's hard to detect */ #ifdef ANDROID return has_cursor_keys; #else return !IsKobo() && !IsIOS(); #endif }
constexpr static inline bool HasTouchScreen() { return IsAndroid() || (IsWindowsCE() && !IsAltair()) || IsKobo() || IsIOS(); }
constexpr static inline bool HasTouchScreen() { return IsAndroid() || IsKobo() || IsIOS(); }
/** * Returns whether the application is running on an embedded platform. * @return True if host hardware is an embedded platform, False otherwise */ constexpr static inline bool IsEmbedded() { return IsAndroid() || IsWindowsCE() || IsKobo() || IsIOS(); }
bool HasTouchScreen() { return IsAndroid() || IsKobo() || IsIOS(); }