rayfung / unity-mt

Unity3D multi-touch for Linux X11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unity3D multi-touch for Linux X11

Introduction

This is a native plugin (libmt) which adds multi-touch support to Unity3D Linux player under X11.
This repository includes libmt plugin and unity sample code.

Building

In order to build libmt plugin, you need to install development package of X11 and Xi.
You also need to change the fullscreen mode of your unity project to "Windowed" in "Project Settings > Player > Resolution and Presentation"

Running

This plugin does not support regular desktop environment (currently). The unity player must be run in a custom xsession (/usr/share/xsessions/foobar.desktop):

[Desktop Entry]
Name=foobar
Exec=/path/to/unity_player.run
Type=Application

Links

About

Unity3D multi-touch for Linux X11


Languages

Language:C 51.4%Language:C# 47.0%Language:Makefile 1.6%