20 class InputAggregator;
63 OIS::InputManager* inputManager,
64 CEGUI::InputAggregator* aggregator
79 OIS::MouseButtonID button
94 OIS::MouseButtonID button
152 struct Implementation;
153 std::unique_ptr<Implementation> m_impl;
bool wasButtonPressed(OIS::MouseButtonID button) const
Checks whether a mouse button was pressed since last update frame Note that this only returns true if...
Definition: mouse.cpp:148
Definition: script_wrappers.h:5
Ogre::Vector3 position() const
The mouse position in pixels, relative to the top-right window corner.
Definition: mouse.cpp:178
void shutdown()
Shuts down the mouse.
Definition: mouse.cpp:206
int scrollChange() const
The scrollvalue since last update.
Definition: mouse.cpp:187
Handles mouse events.
Definition: mouse.h:28
Mouse()
Constructor.
Definition: mouse.cpp:114
Ogre::Vector3 normalizedPosition() const
The mouse position in coordinates ranging from 0.0 to 1.0.
Definition: mouse.cpp:167
static luabind::scope luaBindings()
Lua bindings.
Definition: mouse.cpp:92
~Mouse()
Destructor.
Definition: mouse.cpp:120
Definition: bullet_to_ogre_system.h:5
Definition: bullet_ogre_conversion.h:6
void update()
Updates the queue with new events.
Definition: mouse.cpp:214
Definition: debug_drawing.h:8
void init(OIS::InputManager *inputManager, CEGUI::InputAggregator *aggregator)
Initializes the mouse.
Definition: mouse.cpp:123
bool isButtonDown(OIS::MouseButtonID button) const
Checks whether a mouse button is pressed Note that unlike wasButtonPressed this is not affected by CE...
Definition: mouse.cpp:141
void setWindowSize(int width, int height)
Updates the window size.
Definition: mouse.cpp:192