+7
−23
+10
−18
Loading
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>