Exemplo n.º 1
0
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
}
Exemplo n.º 2
0
constexpr
static inline bool
HasTouchScreen()
{
  return IsAndroid() || (IsWindowsCE() && !IsAltair()) || IsKobo() || IsIOS();
}
Exemplo n.º 3
0
constexpr
static inline bool
HasTouchScreen()
{
  return IsAndroid() || IsKobo() || IsIOS();
}
Exemplo n.º 4
0
/**
 * 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();
}
Exemplo n.º 5
0
bool
HasTouchScreen()
{
    return IsAndroid() || IsKobo() || IsIOS();
}