Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,8 @@ open class GestureHandler {
const val POINTER_TYPE_TOUCH = 0
const val POINTER_TYPE_STYLUS = 1
const val POINTER_TYPE_MOUSE = 2
const val POINTER_TYPE_OTHER = 3
const val POINTER_TYPE_KEY = 3
const val POINTER_TYPE_OTHER = 4
private const val MAX_POINTERS_COUNT = 17
private lateinit var pointerProps: Array<PointerProperties?>
private lateinit var pointerCoords: Array<PointerCoords?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ typedef NS_ENUM(NSInteger, RNGestureHandlerPointerType) {
RNGestureHandlerTouch = 0,
RNGestureHandlerStylus,
RNGestureHandlerMouse,
RNGestureHandlerKey,
RNGestureHandlerOtherPointer,
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type ButtonEvent = Readonly<{
absoluteX: number;
absoluteY: number;
numberOfPointers: number;
pointerType: number;
pointerType: PointerType;
}>;

type EventPayload = {
Expand Down
Loading