| 121 | } |
| 122 | |
| 123 | Value TouchEvents::makeRotationEvent(Valdi::TouchEventState state, |
| 124 | double x, |
| 125 | double y, |
| 126 | double absoluteX, |
| 127 | double absoluteY, |
| 128 | double rotation, |
| 129 | int pointerCount, |
| 130 | Valdi::TouchEvents::PointerLocations& pointerLocations) { |
| 131 | static auto rotationKey = STRING_LITERAL("rotation"); |
| 132 | |
| 133 | auto map = makeShared<ValueMap>(); |
| 134 | fillEvent(*map, state, x, y, absoluteX, absoluteY); |
| 135 | fillPointerData(*map, pointerCount, pointerLocations); |
| 136 | (*map)[rotationKey] = Value(rotation); |
| 137 | |
| 138 | return Value(map); |
| 139 | } |
| 140 | |
| 141 | Value TouchEvents::makeTapEvent(Valdi::TouchEventState state, |
| 142 | double x, |
nothing calls this directly
no test coverage detected