src/video/wayland/SDL_waylandtouch.c
changeset 9726 c45180a5db6e
parent 9679 7fc4a8be47a8
child 9998 f67cf37e9cd4
equal deleted inserted replaced
9725:6bfe2f6069b0 9726:c45180a5db6e
    86     uint32_t sentPointCount = state >> 16;
    86     uint32_t sentPointCount = state >> 16;
    87     uint32_t touchFlags = flags & 0xFFFF;
    87     uint32_t touchFlags = flags & 0xFFFF;
    88     uint32_t capabilities = flags >> 16;
    88     uint32_t capabilities = flags >> 16;
    89     */
    89     */
    90 
    90 
    91     SDL_TouchID deviceId = 0;
    91     SDL_TouchID deviceId = 1;
    92 	if (SDL_AddTouch(deviceId, "qt_touch_extension") < 0) {
    92 	if (SDL_AddTouch(deviceId, "qt_touch_extension") < 0) {
    93 		 SDL_Log("error: can't add touch %s, %d", __FILE__, __LINE__);
    93 		 SDL_Log("error: can't add touch %s, %d", __FILE__, __LINE__);
    94 	}
    94 	}
    95 
    95 
    96     switch (touchState) {
    96     switch (touchState) {