Giter Site home page Giter Site logo

jing-interactive / touch2tuio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vialab/touch2tuio

0.0 2.0 0.0 884 KB

Touch2Tuio source for executables shipped in vialab/SMT, based on http://dm.tzi.de/touch2tuio/

C++ 16.01% C 19.60% Makefile 0.11% Objective-C 0.35% HTML 63.54% CSS 0.39%

touch2tuio's Introduction

Touch2Tuio

Touch2Tuio source for executables shipped in vialab/SMT, based on the original Touch2Tuio from http://dm.tzi.de/en/touch2tuio/

Added support for Windows 8

Original Readme

Touch2Tuio

A small program to translate and forward native Windows 7 touch messages to TUIO clients.

Requirements:

* Multi-touch hardware supporting the Windows 7 API.
* A TUIO-aware client application

Disclaimer:

This is very much work in progress and probably should not be used for production environments. We have tested it with our hardware and client applications and it worked fine for us but we do not guarantee that is runs with all hardware/software or runs stable in all situations.

Manual:

The current interface is command line only and there are not many options available as of yet. We plan to expose further options in the future. If you need more options right now, feel free to add them yourself (that's the beauty of the open source model) and let us know about it!

Basic usage:

1.) Start your TUIO-aware client application and write down the main window's title (for full screen applications you might have to check in the task manager).

2.) Start Touch2Tuio and provide the title of the client window as an argument, e.g., "touch2tuio.exe mytuioclientapp" (capitalization doesn't matter; most of the time the first couple of characters should suffice; if the window title contains spaces, only enter the part up to the first space).

3.) Hit "enter" to quit touch forwarding.

Parameters:

Touch2Tuio.exe (Optional: )

Window Title (required): The first couple of characters of you client application's window title (ONLY the part before the first space!!)

Network Address (optional): The IP address to forward TUIO messages to (defaults to 127.0.0.1)

Port (optional): The port to forward TUIO messages to (defaults to 3333)

OffsetX, OffsetY, Width, Height (optional, but if you enter one of the four, you'll have to specify all of them!): This is highly experimental and intended to provide some measure of control, especially in multi-monitor setups. This will disable auto-detection of the desktop size. These parameters allow you to specify a certain rectangle of your desktop that will be mapped to the application input. Note: In order to get the touch input at all, your application's window will still have to cover the touch area. This is mostly intended for rather exotic development and testing purposes.

Background:

Touch2Tuio uses Windows Hooks to grab the touch messages from the client application and to disable the default touch mouse emulation.

Note:

You need the 32-bit Touch2Tuio version for 32-bit TUIO clients (even on 64-bit systems) and 64-bit Touch2Tuio version for 64-bit TUIO clients. For some applications, especially game engines, you will also have to disable mouse support (if possible) from within your application (please consult your engine's manual/documentation).

Contact:

Marc Herrlich or Benjamin Walther-Franks http://dm.tzi.de/touch2tuio/

touch2tuio's People

Contributors

zachcook avatar kiwistrongis avatar maujabur avatar

Watchers

Jing Zhang avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.