Summary
Mouse base class. To be implemented by specific system (ie. DirectX Mouse)
This class is useful as you remain OS independent using this common interface.
- Namespace
- SharpInputSystem
.SWF - Interfaces
-
- IDisposable
- Base Types
-
- object
- InputObject
- Mouse
graph BT
Type-->Base0["Mouse"]
click Base0 "/sharpinputsystem/api/SharpInputSystem/Mouse"
Base0-->Base1["InputObject"]
click Base1 "/sharpinputsystem/api/SharpInputSystem/InputObject"
Base1-->Base2["object"]
Type-.->Interface0["IDisposable"]
Type["SWFMouse"]
class Type type-node
Syntax
public class SWFMouse : Mouse, IDisposable
Constructors
Name | Summary |
---|---|
SWFMouse |
Properties
Name | Value | Summary |
---|---|---|
Creator | InputManager |
Returns this input object's creator
Inherited from InputObject
|
DeviceID | string |
Not fully implemented yet
Inherited from InputObject
|
EventListener | IMouseListener |
Register/unregister a Mouse Listener - Only one allowed for simplicity. If broadcasting
is neccessary, just broadcast from the callback you registered.
Inherited from Mouse
|
IsBuffered | bool |
Get buffered mode - true is buffered, false otherwise
Inherited from InputObject
|
IsDisposed | bool |
Inherited from InputObject
|
MouseState | MouseState |
Returns the state of the mouse - is valid for both buffered and non buffered mode
Inherited from Mouse
|
Type | InputType |
Get the type of device
Inherited from InputObject
|
Vendor | string |
Get the vender string name
Inherited from InputObject
|
Methods
Name | Value | Summary |
---|---|---|
~InputObject |
void |
Inherited from InputObject
|
Capture |
void |
Used for updating call once per frame before checking state or to update events
|
Dispose |
void |
Inherited from InputObject
|
Dispose |
void | |
Initialize |
void |
|
QueryInterface |
I |
Inherited from InputObject
|