OSDN Git Service

Input: psmouse - create helper for reporting standard buttons/motion
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 8 Feb 2017 01:07:44 +0000 (17:07 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 3 Feb 2018 00:48:56 +0000 (16:48 -0800)
commit1ef8580539d0b9282b726a2c9b7aa25057040cfe
treea609141dca5c18eb0fc159418abd59db95f3c89a
parentd8a5b80568a9cb66810e75b182018e9edb68e8ff
Input: psmouse - create helper for reporting standard buttons/motion

Many protocol driver re-implement code to parse buttons or motion data from
the standard PS/2 protocol. Let's split the parsing into separate
functions and reuse them in protocol drivers.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c
drivers/input/mouse/elantech.c
drivers/input/mouse/lifebook.c
drivers/input/mouse/logips2pp.c
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/psmouse.h
drivers/input/mouse/sentelic.c