Multitouch
8581
Comment:
|
7832
|
Deletions are marked like this. | Additions are marked like this. |
Line 34: | Line 34: |
You need to enable your touch hardware (see below) and, for the moment only, add this to /etc/X11/xorg.conf {{{ Section "InputClass" Identifier "multitouch touchpad" MatchIsTouchpad "on" Driver "gevdev" EndSection }}} You can confirm that you're seeing gestures with the following command: {{{ gesturetest 0 0 0xffffffff }}} Look for things like: {{{ Gesture ID: 684 Gesture Type: 3: Drag - Two Fingers Device ID: 9 Timestamp: 2792079 Root Window: 0xac: (root window) Event Window: 0x80009a: (has no name) Child Window: 0x80009a: (has no name) Focus X: 78.000000 Focus Y: 62.000000 Status: 2 Num Props: 6 Property 0: 0.000000 Property 1: 0.151512 Property 2: 0.000000 Property 3: 0.013774 Property 4: 312.333466 Property 5: 313.984802 }}} |
|
Line 75: | Line 36: |
* [[Multitouch/AppleHardware/MagicTrackpad]] - Setup and testing of the !MagicTrackpad |
Contents
About
This resource features information about multi-touch support for Ubuntu, including:
- drivers for a range of hardware
- a gesture processing system which does the heavy lifting of gesture analysis
- APIs for developers who want to build gestures into their apps
- support for gesture-based window management in Unity.
The uTouch gesture framework includes several different components:
libutouch-geis - ("Gesture Engine Interface and Support") which provides a consistent platform independent interface for any system-wide input gesture recognition mechanism for toolkits and applications
libutouch-grail - ("Gesture Recognition And Instantiation Library") which handles the raw data processing and provides higher-level gesture abstractions for developers to consume * gesturetest - which helps show the streams of events and data, useful for debugging and planning
We're also exploring gesture support in legacy applications with the assistance of this project:
ginn - ("Gesture Injector: No-GEIS, No-GTK") a deamon with jinn-like wish-granting capabilities: it gives applications the ability to support a subset of multi-touch gestures without having to integrate uTouch-GEIS or multi-touch GTK libs
See the "Community help" and Ubuntu 10.10 specific information below for help on getting started with multitouch in Ubuntu.
Multitouch in Maverick - Mailing list announcement
Multitouch - Wikipedia entry
Community help
Testing
The utouch metapackage will pull in everything you need. It will be installed by default on UNE ("apt-get install ubuntu-netbook" for the full experience on your desktop, or "apt-get install utouch" for the touch-related pieces only). It should be available shortly. If you only want to experiment with multitouch, see "Multitouch in Maverick" depending on your device, below.
Multitouch/Testing - How to find your device ID and test it for multi-touch capability
Multitouch/PyMT - Testing multi-touch with Python MT
Multitouch/AppleHardware/MagicTrackpad - Setup and testing of the MagicTrackpad
Development
The uTouch framework and related projects are open source. If you would like to contribute, you need to do the following:
sign Canonical's contributor agreement
read and adhere to our Developer's Guide to the Galaxy
- abide by the coding styles and best practices of the related upstream projects
- start hacking!
Hardware Support
- 3M Touch Systems - 3M™ Display M2256PW
- Dell Studio 17 with touch (N-Trig)
- Dell Latitude XT2 tablet laptop - featuring N-Trig support (see below)
Check the Ubuntu Multitouch FAQ for configuration details
- Lenovo T410s with touch (N-Trig)
- tested, works with PyMT demos (needs sudo, configuration)
Apple Magic TrackPad
Pairing and single-touch testing - multi-touch not fully working yet, but is in-progress
Multitouch in Natty Narwhal (Ubuntu 11.04)
Multitouch in Maverick Meerkat (Ubuntu 10.10)
- Software that supports Multitouch in Ubuntu
PyMT in Ubuntu - information about the PyMT project and how to set Python MT in Ubuntu to see simple multi-touch applications and demos. PyMT doesn't use the uTouch stack, though there has been talk of integrating support for the GEIS API.
Specs & Blueprints
Multitouch in other Ubuntu versions
10.04 LTS (Lucid Lynx)
Project Wiki for Lucid Lynx efforts
Specs & Blueprints
Jaunty Jackalope
Device information
N-trig
N-trig devices get their name from the providers of DuoSenseTM technology, combining pen, capacitive touch and multi-touch in a single device. N-trig’s DuoSense dual-mode digitizer uses both pen and zero-pressure capacitive touch in a single device.
The Dell Latitude XT2, HP tx2 tablets and the Lenovo T410s feature such multitouch support. Note, however, that a Linux firmware updater has not been released by N-trig for these devices. Before installing Ubuntu on your machine, be sure that you have the latest firmware. This may require using the Windows .exe firmware updater from the OEM. Note that the HP updater often requires 2 to 4 successive reboots of Windows in order to properly update.
Related links
Launchpad
- Tangentially Related:
Multitouch (last edited 2015-10-21 17:33:15 by pool-71-176-33-233)