Skip to content

TouchScript multiple displays with tuio #362

Open

Description

@UbachDev

Hi
Im working on an app that needs that tuio inputs goes to display X (currently 2 but can go to more) and touches on tactil screen to Display 1, but, im not able to swap displays from tuio.
I managed to intercept touches from tuio and separate them from other pointers, but, i dont know how make them interact in other display for all gestures, i thougt that i can do a raycast throw the camera display and use it as touch, but i need some help to acheave that

Thx

Activity

  1. bomanden commented on Nov 2, 2021

    @bomanden

    Hi
    Just some quick thoughts

    1th. option :
    https://github.com/TouchScript/TouchScript/wiki/Remapping-Coordinates-From-an-Input-Source
    Where you can set up some remapping rules .

    If you are generating the Tuio Touchpoints you can also modify their values before sending them to unity
    So before tuioTransmitter CreateCursor\UpdateCursor\DestroyCursor you remap and or offset the position .

    2th. option :
    Combine the two screeens into one , and use Nvidia surround to combine the screens into one.

  2. AbhiKana commented on Mar 9, 2023

    @AbhiKana

    Hi @UbachDev were you ever able to achieve TUIO on multiple displays ?

    I am also trying to achieve the same on two displays stacked in landscape orientation with a resolution of 1920x2160 which when I tested gave me pointer in 1920x1080 resolution scaled to 1920x2160 which is not how it should have worked.

    I still have two check what @bomanden has said in his first option.

    But any headstart would be good if you could help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions