namespace Game {

    @localized('en', 'EventType')
    @localized('es', 'TipoEvento')
    @localized('jp', 'JPEventType')
    enum EventType {

        // WARNING: These magic numbers are used throughout the stack,
        // GameLibHelper.cry, and platform specific code.

        QUIT = 0x1,

        KEY_DOWN = 0x10,
        KEY_UP = 0x11,

        MOUSE_MOVE = 0x20,
        MOUSE_LEFT_DOWN = 0x21,
        MOUSE_LEFT_UP = 0x22,
        MOUSE_RIGHT_DOWN = 0x23,
        MOUSE_RIGHT_UP = 0x24,
        MOUSE_SCROLL = 0x25,

        GAMEPAD_HARDWARE = 0x30,
        GAMEPAD = 0x31,

        TOUCH_START = 0x40,
        TOUCH_END = 0x41,
        TOUCH_MOVE = 0x42,

        // Internal only
        WINDOW_SIZE_CHANGE = 0x50,
    }
}
