Licence od 75 € Přihlásit se
DE EN FR ES IT CZ

Supporting touch input on windows

  1. · 2 years ago
    Hello,

    I am looking for a way to support the users touch input on windows devices. Currently when I touch the screen only the curser position gets updated but no 'click' gets registered.
    Since I am pretty new to Visoinaire Studio I may miss the obvious way to do it so I would appreciate some hints. 

    My idea was to write a script that registers an event handler for the mouseEvent. If the mouseEvents value is eEvtTouchDown (16) I would like to trigger a new mouseEvent for eEvtMouseLeftButtonDown (3).  (https://wiki.visionaire-tracker.net/wiki/Global_Command:_reg...)
    My problems currently  are
    (a) createEvent seems to be the only way to trigger an event and it is not documented (https://wiki.visionaire-tracker.net/wiki/Global_Command:_cre...)
    (b) To check if eEvtTouchDown is even supported on windows I would like to log the mouseEvent values of my build game on the PC that has the touch screen (not my development PC). How do I do that?

  2. Pracujete na hře?

    Bezplatná verze umožňuje až 25 scén na projekt. Pro více scén a pro prodej hry potřebujete licenci.

    Zobrazit licence Vyzkoušet zdarma
  3. · 2 years ago
    The docs about the createEvent are here: https://www.visionaire-studio.com/luadocs/lua.html#createeve...

    Easiest would be to install Visionaire on the other PC but you can also set loglevel to info in the config.ini and print to the messages.log.

Toto téma je uzavřené, protože tu přes rok nikdo neodpověděl. Svůj dotaz můžete položit v novém tématu.

Nové téma

Opravdu smazat tento příspěvek?