source: trunk/src/platform.cpp @ 2370

Last change on this file since 2370 was 2183, checked in by sam, 7 years ago

build: fix the WTFPL site URL in all code comments.

  • Property svn:keywords set to Id
File size: 644 bytes
Line 
1//
2// Lol Engine
3//
4// Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://www.wtfpl.net/ for more details.
9//
10
11#if defined HAVE_CONFIG_H
12#   include "config.h"
13#endif
14
15#include "core.h"
16
17namespace lol
18{
19
20/*
21 * Public Platform class
22 */
23
24int Platform::GetMouseCount()
25{
26#if defined __ANDROID__
27    /* Assume Android devices are touch devices that don't have a mouse */
28    return 0;
29#endif
30    return 1;
31}
32
33} /* namespace lol */
34
Note: See TracBrowser for help on using the repository browser.