Open 1vanK opened 1 year ago
static void GestureSendMulti(GestureTouch *touch, float dTheta, float dDist) { if (SDL_GetEventState(GESTURE_MULTIGESTURE) == SDL_ENABLE) { ... } }
static void GestureSendDollar(GestureTouch *touch, Gesture_ID gestureId, float error) { if (SDL_GetEventState(GESTURE_DOLLARGESTURE) == SDL_ENABLE) { ... } } static void GestureSendDollarRecord(GestureTouch *touch, Gesture_ID gestureId) { if (SDL_GetEventState(GESTURE_DOLLARRECORD) == SDL_ENABLE) { ... } }
https://github.com/libsdl-org/SDL/blob/main/docs/README-migration.md
static void GestureSendMulti(GestureTouch *touch, float dTheta, float dDist) { if (SDL_GetEventState(GESTURE_MULTIGESTURE) == SDL_ENABLE) { ... } }