This is an issue that occurs on Microsoft Surface laptop computers, and from what I have read online from past reports, possibly other Windows touchscreen devices as well.
Tapping on the touchscreen of a Windows tablet does not trigger the left mouse pressed event as it should. Instead, only a double tap or a tap, short hold, and drag will trigger the event.
Tapping and holding triggers the mouse_check event just fine, but a single tap does not trigger a mouse press, which particularly causes issues with user interface and other functions that require a lot of clicking / tapping.
Steps To Reproduce
This function can easily test this on a Windows Surface or possibly other Windows device.
if device_mouse_check_button_pressed(0, mb_left)
{
if point_in_rectangle( device_mouse_x(0), device_mouse_y(0), x, y, x+512, y+228 )
{
image_index = !image_index;
}
}
Neither device_mouse_dbclick_enable( false ); nor gesture_tap_count( false ); remity this issue.
Description
This is an issue that occurs on Microsoft Surface laptop computers, and from what I have read online from past reports, possibly other Windows touchscreen devices as well. Tapping on the touchscreen of a Windows tablet does not trigger the left mouse pressed event as it should. Instead, only a double tap or a tap, short hold, and drag will trigger the event. Tapping and holding triggers the mouse_check event just fine, but a single tap does not trigger a mouse press, which particularly causes issues with user interface and other functions that require a lot of clicking / tapping.
Steps To Reproduce
This function can easily test this on a Windows Surface or possibly other Windows device.
if device_mouse_check_button_pressed(0, mb_left) { if point_in_rectangle( device_mouse_x(0), device_mouse_y(0), x, y, x+512, y+228 ) { image_index = !image_index; } }
Neither device_mouse_dbclick_enable( false ); nor gesture_tap_count( false ); remity this issue.
8a792d44-1935-47de-a372-e4d3a22793af