GMS 2 Windows Multi Touch Extension

Anigrama

Member
Platform: Windows

Immediately apologize for my english.
Create an extension that allows you to work with sensors that are connected via usb.
Tested on Windows 7 and Windows 10.
I did it for my project, but maybe someone will need it.

upload_2019-6-16_15-0-5.png

[Made for GameMaker Studio 2]

This extension is for Windows, macOS, and Ubuntu.

Code:
for (var i = 0; i < win_multitouch_device_count(); ++i) 
{
touch_id = win_multitouch_device_get_touch_id(i)
}
https://marketplace.yoyogames.com/assets/8277/windows-multi-touch
 
Top