History

input: add MT_TOOL_DIAL

A dial is a tool you place on a multitouch surface which reports its orientation or a relative angle of rotation when rotating its knob. Some examples are the Dell Totem (on the Canvas 27"), the Microsoft Dial, or the Griffin Powermate, though the later can't be put on a touch surface. We give some extra space to account for other types of fingers if we need (MT_TOOL_THUMB) Slightly change the documentation to not make it mandatory to update each MT_TOOL we add.

Benjamin Tissoires committed 8 years ago

Commit b875a5a1 parent 092150a2 files · +11 −10Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/input.h+5−4
@@ -270,10 +270,11 @@ struct input_mask { · 269 unmodified lines
270/*270/*
271 * MT_TOOL types271 * MT_TOOL types
272 */272 */
273#define MT_TOOL_FINGER 0273#define MT_TOOL_FINGER 0x00
274#define MT_TOOL_PEN 1274#define MT_TOOL_PEN 0x01
275#define MT_TOOL_PALM 2275#define MT_TOOL_PALM 0x02
276#define MT_TOOL_MAX 2276#define MT_TOOL_DIAL 0x0a
277#define MT_TOOL_MAX 0x0f
277 278
278/*279/*
279 * Values describing the status of a force-feedback effect280 * Values describing the status of a force-feedback effect