input_mt_report_pointer_emulation(9)

input_mt_report_pointer_emulation9

Common pointer emulation

Usage

void input_mt_report_pointer_emulation(struct input_dev * dev, bool use_count);

Arguments

dev

input device with allocated MT slots

use_count

report number of active contacts as finger count

Overview

Performs legacy pointer emulation via BTN_TOUCH, ABS_X, ABS_Y and ABS_PRESSURE. Touchpad finger count is emulated if use_count is true.

The input core ensures only the KEY and ABS axes already setup for this device will produce output.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.