| 253 | } |
| 254 | |
| 255 | void TouchpadController::Handler::swipe( float dx, float dy, bool kinetic, GestureState state ) |
| 256 | { |
| 257 | switch ( state ) |
| 258 | { |
| 259 | case GestureState::Begin: |
| 260 | ENQUEUE_VIEWER_METHOD( "Swipe touchpad gesture started", touchpadSwipeGestureBegin ); |
| 261 | break; |
| 262 | case GestureState::Update: |
| 263 | ENQUEUE_VIEWER_METHOD_ARGS_SKIPABLE( "Swipe touchpad gesture updated", touchpadSwipeGestureUpdate, dx, dy, kinetic ); |
| 264 | break; |
| 265 | case GestureState::End: |
| 266 | ENQUEUE_VIEWER_METHOD( "Swipe touchpad gesture ended", touchpadSwipeGestureEnd ); |
| 267 | break; |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | void TouchpadController::Handler::zoom( float scale, bool kinetic, GestureState state ) |
| 272 | { |
no outgoing calls
no test coverage detected