You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
923 B
74 lines
923 B
8 years ago
|
#pragma once
|
||
|
|
||
|
|
||
|
namespace vr {
|
||
|
|
||
|
|
||
|
class Event {
|
||
|
public:
|
||
|
enum EventType
|
||
|
{
|
||
|
Closed,
|
||
|
Resized,
|
||
|
LostFocus,
|
||
|
GainedFocus,
|
||
|
TextEntered,
|
||
|
KeyPressed,
|
||
|
KeyReleased,
|
||
|
MouseWheelMoved,
|
||
|
MouseWheelScrolled,
|
||
|
MouseButtonPressed,
|
||
|
MouseButtonReleased,
|
||
|
MouseMoved,
|
||
|
MouseEntered,
|
||
|
MouseLeft,
|
||
|
JoystickButtonPressed,
|
||
|
JoystickButtonReleased,
|
||
|
JoystickMoved,
|
||
|
JoystickConnected,
|
||
|
JoystickDisconnected,
|
||
|
TouchBegan,
|
||
|
TouchMoved,
|
||
|
TouchEnded,
|
||
|
SensorChanged,
|
||
|
Count
|
||
|
};
|
||
|
|
||
|
EventType type;
|
||
|
|
||
|
};
|
||
|
|
||
|
Closed,
|
||
|
Resized,
|
||
|
LostFocus,
|
||
|
GainedFocus,
|
||
|
TextEntered,
|
||
|
KeyPressed,
|
||
|
KeyReleased,
|
||
|
MouseWheelMoved,
|
||
|
MouseWheelScrolled,
|
||
|
MouseButtonPressed,
|
||
|
MouseButtonReleased,
|
||
|
MouseMoved,
|
||
|
MouseEntered,
|
||
|
MouseLeft,
|
||
|
JoystickButtonPressed,
|
||
|
JoystickButtonReleased,
|
||
|
JoystickMoved,
|
||
|
JoystickConnected,
|
||
|
JoystickDisconnected,
|
||
|
TouchBegan,
|
||
|
TouchMoved,
|
||
|
TouchEnded,
|
||
|
SensorChanged,
|
||
|
Count
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|