载入中...
搜索中...
未找到
EventSink.cpp 文件参考
#include "common/Capability.h"
#include "joystick/Joystick.h"
#include "joystick/Pad.h"
#include "joystick/sdl/EventSinkOwner.h"
#include "platform_event/PlatformEvent.h"
#include "platform_event/PlatformEventSink.h"
#include <SDL2/SDL_events.h>
#include <SDL2/SDL_gamecontroller.h>
#include <cmath>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::joystick
 
namespace  eve::joystick::sdl
 

函数

void eve::joystick::sdl::bindJoystickEventSinkOwner (eve::joystick::Joystick *owner) noexcept
 Bind the live Joystick module into the SDL event sink. @ownership Borrowed; the Joystick module owns itself and clears the bind on destroy. @lifetime Valid from Joystick construction until Joystick destruction.