|
| Mouse () |
| Class constructor.
|
|
virtual | ~Mouse () |
| Class destructor.
|
|
const Input::ButtonState & | GetButtonState (const UInt16 Button) const |
|
const Input::ButtonState & | GetButtonState (const Input::InputCode &Button) const |
|
bool | GetCursorVisibility () |
| Gets the current state of the visibility of the cursor. More...
|
|
Real | GetDeltaX () const |
| Gets the X delta of the mouse position from the last update. More...
|
|
Real | GetDeltaY () const |
| Gets the Y delta of the mouse position from the last update. More...
|
|
UInt16 | GetDeviceIndex () const |
| Gets the device index of this controller. More...
|
|
const
Input::DirectionalMotionState & | GetHorizontalWheelState () const |
| Gets the current state of the horizontal mouse wheel. More...
|
|
Graphics::Viewport * | GetHoveredViewport () const |
| Gets a pointer to the current viewport the mouse cursor is hovered over. More...
|
|
Graphics::GameWindow * | GetHoveredWindow () const |
| Gets a pointer to the window with the current mouse focus. More...
|
|
void | GetMouseCursor () |
| Gets the current mouse cursor. More...
|
|
const Vector2 & | GetMouseDelta () const |
| Gets the change in the mouse position from the previous update. More...
|
|
bool | GetRelativeMode () |
| Gets whether or not relative mode is enabled. More...
|
|
const
Input::DirectionalMotionState & | GetVerticalWheelState () const |
| Gets the current state of the vertical mouse wheel. More...
|
|
Vector2 | GetViewportPosition () const |
| Gets the position of the mouse cursor relative to the origin of the viewport in the window with the mouse focus. More...
|
|
Real | GetViewportX () const |
| Gets the X position of the mouse relative to the viewport. More...
|
|
Real | GetViewportY () const |
| Gets the Y position of the mouse relative to the viewport. More...
|
|
const Vector2 & | GetWindowPosition () const |
| Gets the position of the mouse cursor relative to the origin of the window with the mouse focus. More...
|
|
Real | GetWindowX () const |
| Gets the X position of the mouse relative to the window. More...
|
|
Real | GetWindowY () const |
| Gets the Y position of the mouse relative to the window. More...
|
|
void | SetCursorVisibility (bool Visible) |
| Sets the visibility of the mouse cursor. More...
|
|
void | SetMouseCursor () |
| Sets the mouse cursor.
|
|
bool | SetRelativeMode (bool Enable) |
| Sets whether or not relative mode is enabled. More...
|
|
void | WarpCursorToPosition (Graphics::GameWindow *Win, const Vector2 &Position) |
| Sets the mouse cursor's position to the specified point in the specified window. More...
|
|
| ButtonDevice () |
| Class constructor.
|
|
virtual | ~ButtonDevice () |
| Class destructor.
|
|
void | _Update (const MetaCodeContainer &DeltaCodes, MetaCodeContainer &GeneratedCodes) |
| Updates this device with the newest data. More...
|
|
bool | CheckButtonState (const UInt16 Button, const Input::ButtonState &State) const |
| Checks to see if a button on this device is a specific state. More...
|
|
bool | CheckButtonState (const Input::InputCode &Button, const Input::ButtonState &State) const |
| Checks to see if a button on this device is a specific state. More...
|
|
UInt16 | GetNumButtons () const |
| Gets the number of buttons on this device. More...
|
|
bool | IsButtonLifting (const UInt16 Button) const |
| Gets whether or not a device button was lifted this frame. More...
|
|
bool | IsButtonLifting (const Input::InputCode &Button) const |
| Gets whether or not a device button was lifted this frame. More...
|
|
bool | IsButtonPressed (const UInt16 Button) const |
| Gets whether or not a device button is pressed down. More...
|
|
bool | IsButtonPressed (const Input::InputCode &Button) const |
| Gets whether or not a device button is pressed down. More...
|
|
bool | IsButtonPressing (const UInt16 Button) const |
| Gets whether or not a device button was pressed this frame. More...
|
|
bool | IsButtonPressing (const Input::InputCode &Button) const |
| Gets whether or not a device button was pressed this frame. More...
|
|
bool | IsButtonTransitioning (const UInt16 Button) const |
| Gets whether or not a device button was lifted or pressed this frame. More...
|
|
bool | IsButtonTransitioning (const Input::ButtonState &Button) const |
| Gets whether or not a device button was lifted or pressed this frame. More...
|
|
| Device () |
| Class constructor.
|
|
virtual | ~Device () |
| Class destructor.
|
|
void | AddInputSequence (const MetaCodeContainer &Codes, const Int32 &SequenceID) |
| Adds a custom sequence of inputs that this system will look for and generate MetaCode's for when they occur.
- Exceptions
-
If | the vector of MetaCode's doesn't end with a null MetaCode, an exception will be thrown. An exception can also be thrown if the ID provided is the max value of an Int32. |
More...
|
|
Int32 | GetIDofInputSequence (const MetaCodeContainer &Codes) |
| Gets the ID of the provided sequence of MetaCode's.
- Exceptions
-
If | the vector of MetaCode's doesn't end with a null MetaCode, an exception will be thrown. |
More...
|
|
bool | InputSequenceExists (const MetaCodeContainer &Codes) |
| Checks to see if the provided sequence of MetaCode's is already being checked for.
- Exceptions
-
If | the vector of MetaCode's doesn't end with a null MetaCode, an exception will be thrown. |
More...
|
|
void | RemoveAllInputSequences () |
| Removes all stored input sequences. More...
|
|
void | RemoveInputSequence (const MetaCodeContainer &Codes) |
| Removes the specified custom sequence of MetaCode's.
- Exceptions
-
If | the vector of MetaCode's doesn't end with a null MetaCode, an exception will be thrown. |
More...
|
|