#include <esve/components/dimn/Supermouse_Motion_Handler.hxx>
Inheritance diagram for esve::components::dimn::Supermouse_Motion_Handler:

Public Member Functions | |
| types::real | sensitivity () const |
| Scalar multiplier for all motion. | |
| void | sensitivity (types::real) |
| Scalar multiplier for all motion. | |
| virtual void | stop ()=0 |
| Stop all motion. | |
Protected Types | |
| typedef components::dimn::Supermouse | Supermouse |
| typedef components::dimn::Supermouse::Button | Button |
Protected Member Functions | |
| const types::pure & | u () const |
| Position. | |
| const types::pure & | du_dt () const |
| Velocity, units per second. | |
| const types::pure & | d2u_dt2 () const |
| Acceleration, units per second^2. | |
| const types::pure & | du_dt (Button b) const |
| Drag velocity with this button, units per second. | |
| const types::pure & | d2u_dt2 (Button b) const |
| Drag acceleration with this button, units per second^2. | |
| bool | handle_supermouse_move (const Supermouse &) |
| The supermouse moved. | |
| bool | handle_supermouse_push (Button, const Supermouse &) |
| A supermouse button was pushed. | |
| bool | handle_supermouse_release (Button, const Supermouse &) |
| A supermouse button was released. | |
| void | update () |
| Receive the update() message. | |
| void | update (double dt) |
| Receive the update() message. | |
| bool | handle_wake () |
| The command to wake up. | |
| bool | handle_sleep () |
| The command to sleep. | |
| virtual bool | handle_check_awake (bool currently_awake)=0 |
| Do you want to be awake? | |
| bool | awake () const |
| Are we awake? | |
| const Supermouse & | supermouse () const |
| The current state of the supermouse. | |
The purpose of this class is to make consistent measure of input velocity and acceleration, accounting for boundary conditions on button drags.
|
|
Do you want to be awake? If currently awake, a return value of true indicates a desire to stay awake. If not currently awake, a return value of true indicates a desire to wake up. Implemented in esve::kernel::Sync_Update_Server, esve::kernel::Wake_State_Server, esve::components::dim3::Keyboard_Rotation_Handler, esve::components::dim3::Motion_Frame, esve::components::dim4::Motion_Frame, esve::components::dim4::Simple_Rotation_Handler, esve::components::dimn::Differential_Motion_Handler< Transform, impl_Transform >, esve::components::dimn::Differential_Motion_Handler< engine::dim3::Transform, engine::dim3::impl::Transform >, and esve::components::dimn::Differential_Motion_Handler< engine::dim4::Transform, engine::dim4::impl::Transform >. |
1.3.4