◆ ButtonIsDown()
bool hpl::Mouse::ButtonIsDown |
( |
eMButton |
| ) |
|
Check if a mouse button is down
- Parameters
-
eMButton | the button to check |
- Returns
◆ GetAbsPosition()
Get the absolute pos of the mouse.
- Returns
◆ GetRelPosition()
Get the relative movement.
- Returns
◆ Reset()
void hpl::Mouse::Reset |
( |
| ) |
|
Reset smoothing and relative movement.
◆ SetSmoothProperties()
void hpl::Mouse::SetSmoothProperties |
( |
float |
afMinPercent, |
|
|
float |
afMaxPercent, |
|
|
unsigned int |
alBufferSize |
|
) |
| |
Set parameters for mouse smoothing
- Parameters
-
afMinPercent | Influence of the oldest position. |
afMaxPercent | Influence of the latest position. |
alBufferSize | number of saved positions, 1 = no smoothing |
◆ Update()
void hpl::Mouse::Update |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file: