Skip to content
Commit 72fb4765 authored by Stephen Just's avatar Stephen Just Committed by Dmitry Torokhov
Browse files

Input: surface3_spi - add surface pen support for Surface 3



This change creates a second input device which will handle input from
a Surface Pen. The Surface Pen supplies a different packet header than
touch events, so it is simple to handle one or the other.

This patch handles both the newer Surface Pen with one button, and the
older variant with a second button to switch to Eraser mode.

Signed-off-by: default avatarStephen Just <stephenjust@gmail.com>
Reviewed-and-tested-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 427ee206
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment