Features/XI2

From FedoraProject

Jump to: navigation, search

Contents

X Input Extension 2.0 (XI2)

Summary

XI2 is the second major release of the X Input Extension and allows the simultaneous use of multiple independent input devices.

Owner

Current status

Detailed Description

XI2 provides a number of features over the current X Input Extension 1.5:

Benefit to Fedora

XI2 allows the development of novel user interfaces, for example bi-manual input or co-located collaborative applications.

Scope

Requires upstream development and release (planned for xorg-x11-server 1.7).

Test Plan

The above is the test plan to verify multiple input devices work with legacy applications. To develop new XI2-capable applications, please see the XI2 man pages and the example programs below in #Documentation.

User Experience

XI2 has no effect on the traditional desktop interface. Only applications that make use of the new APIs gain benefits. Users who explicitly create additional master devices (e.g. using the xinput tool) may be able to use their traditional desktop in a multi-user fashion to a limited extent.

Dependencies

Contingency Plan

Documentation

Peter has written a series of extensive blog posts about the new possibilities of XI2:

Release Notes

The update to X.Org server 1.7 provides Fedora with the X Input Extension version 2.0 (XI2). This extension provides a new client API for handling input devices and also Multi-Pointer X (MPX) functionality. MPX functionality allows users to create and remove new cursors and keyboard foci on the fly and dynamically reattach physical input devices to these cursors/foci. Each cursor/foci pair is independent of the others and can be used simultaneously, allowing for multi-user interaction on a single screen, bi-manual input and more. The XI2 API provides clients with full access to each input device and its events. Clients can thus treat events from each input devices separately, implementing features such as multi-user editing in the same document.

Other features of XI2 include:

XI2 is non-intrusive and does not affect the default desktop. It's features only become apparent when additional cursor/keyboard focis are created or clients employ the new APIs.