| 139 | } |
| 140 | |
| 141 | Value TouchEvents::makeTapEvent(Valdi::TouchEventState state, |
| 142 | double x, |
| 143 | double y, |
| 144 | double absoluteX, |
| 145 | double absoluteY, |
| 146 | int pointerCount, |
| 147 | Valdi::TouchEvents::PointerLocations& pointerLocations) { |
| 148 | auto map = makeShared<ValueMap>(); |
| 149 | fillEvent(*map, state, x, y, absoluteX, absoluteY); |
| 150 | fillPointerData(*map, pointerCount, pointerLocations); |
| 151 | |
| 152 | return Value(map); |
| 153 | } |
| 154 | |
| 155 | Value TouchEvents::makeScrollEvent( |
| 156 | double x, double y, double unclampedX, double unclampedY, double velocityX, double velocityY) { |
nothing calls this directly
no test coverage detected