private static void shiftStarts(int type)
    {
        if (type == TYPE_KEY_PRESSED)
        {
            key_released_start++;
            mouse_pressed_start++;
            mouse_released_start++;
            mouse_wheel_start++;
            mouse_moved_start++;
            mouse_dragged_start++;
        }
        else if (type == TYPE_KEY_RELEASED)
        {
            mouse_pressed_start++;
            mouse_released_start++;
            mouse_wheel_start++;
            mouse_moved_start++;
            mouse_dragged_start++;
        }
        else if (type == TYPE_MOUSE_PRESSED)
        {
            mouse_released_start++;
            mouse_wheel_start++;
            mouse_moved_start++;
            mouse_dragged_start++;
        }
        else if (type == TYPE_MOUSE_RELEASED)
        {
            mouse_wheel_start++;
            mouse_moved_start++;
            mouse_dragged_start++;
        }
        else if (type == TYPE_MOUSE_WHEEL)
        {
            mouse_moved_start++;
            mouse_dragged_start++;
        }
        else if (type == TYPE_MOUSE_MOVED)
        {
            mouse_dragged_start++;
        }
    }