|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
32 #include <Bites/OgreWindowEventUtilities.h>
44 public OIS::MouseListener,
45 public OIS::KeyListener,
46 public OIS::JoyStickListener
77 virtual bool mouseMoved(
const OIS::MouseEvent& arg)
override;
78 virtual bool mousePressed(
const OIS::MouseEvent& arg, OIS::MouseButtonID
id)
override;
79 virtual bool mouseReleased(
const OIS::MouseEvent& arg, OIS::MouseButtonID
id)
override;
82 virtual bool keyPressed(
const OIS::KeyEvent& arg)
override;
83 virtual bool keyReleased(
const OIS::KeyEvent& arg)
override;
86 virtual bool buttonPressed(
const OIS::JoyStickEvent& arg,
int button)
override;
87 virtual bool buttonReleased(
const OIS::JoyStickEvent& arg,
int button)
override;
88 virtual bool axisMoved(
const OIS::JoyStickEvent& arg,
int axis)
override;
89 virtual bool sliderMoved(
const OIS::JoyStickEvent& arg,
int)
override;
90 virtual bool povMoved(
const OIS::JoyStickEvent& arg,
int)
override;
virtual bool mousePressed(const OIS::MouseEvent &arg, OIS::MouseButtonID id) override
Ogre::Viewport * m_viewport
bool m_windowed_fix
Workaround OGRE glitch when switching from fullscreen.
Ogre::RenderWindow * CreateCustomRenderWindow(std::string const &name, int width, int height)
virtual bool mouseReleased(const OIS::MouseEvent &arg, OIS::MouseButtonID id) override
int m_prev_screenshot_index
virtual bool keyPressed(const OIS::KeyEvent &arg) override
Ogre::RenderWindow * GetRenderWindow()
std::thread::id GetMainThreadID()
virtual bool buttonReleased(const OIS::JoyStickEvent &arg, int button) override
Ogre::Viewport * GetViewport()
bool SetUpConfigSkeleton()
RoR::ForceFeedback & GetForceFeedback()
virtual bool buttonPressed(const OIS::JoyStickEvent &arg, int button) override
Ogre::RenderWindow * m_render_window
Central setup and event handler for input/windowing/rendering.
virtual bool keyReleased(const OIS::KeyEvent &arg) override
virtual bool mouseMoved(const OIS::MouseEvent &arg) override
void SetRenderWindowIcon(Ogre::RenderWindow *rw)
std::thread::id m_mainthread_id
std::time_t m_prev_screenshot_time
Central state/object manager and communications hub.
virtual bool axisMoved(const OIS::JoyStickEvent &arg, int axis) override
void ActivateFullscreen(bool val)
void SetUpObsoleteConfMarker()
virtual bool povMoved(const OIS::JoyStickEvent &arg, int) override
virtual void windowFocusChange(Ogre::RenderWindow *rw) override
Ogre::Root * GetOgreRoot()
virtual void windowResized(Ogre::RenderWindow *rw) override
RoR::ForceFeedback m_force_feedback
virtual bool sliderMoved(const OIS::JoyStickEvent &arg, int) override