GMS 2 Windows Multi Touch Extension

Discussion in 'Marketplace' started by Anigrama, Jun 16, 2019.

  1. Anigrama

    Anigrama Member

    Joined:
    Jun 16, 2019
    Posts:
    1
    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice