@@ -33,10 +33,8 @@ namespace crown
{
/// Interface for accessing accelerometer input device.
-class Accelerometer
+struct Accelerometer
-public:
-
//-----------------------------------------------------------------------------
Accelerometer()
: m_orientation(0.0f, 0.0f, 0.0f)
@@ -28,7 +28,6 @@ OTHER DEALINGS IN THE SOFTWARE.
#include "Types.h"
#include "KeyCode.h"
-#include "OS.h"
#include "Assert.h"
#undef MK_SHIFT
@@ -46,10 +45,8 @@ enum ModifierKey
};
/// Interface for accessing keyboard input device.
-class Keyboard
+struct Keyboard
Keyboard()
: m_modifier(0), m_current_frame(0), m_last_key(KC_NOKEY)
@@ -44,10 +44,8 @@ struct PointerData
/// Interface for accessing touch input device.
-class Touch
+struct Touch
/// Returns whether the touch pointer @a id is up.
bool touch_up(uint16_t id) const