Input: iforce - factor out hat handling when parsing packets
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 10 Aug 2018 00:41:40 +0000 (17:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 23 Jun 2019 06:55:21 +0000 (23:55 -0700)
commit8a25e05890f155406171e8cb256177275bbf387f
tree9607700b37fd4bbda235d81e43612cb13c6f23d5
parent43e61fc77fd1b1ee6c7e4989809e1d6b3fb65ad9
Input: iforce - factor out hat handling when parsing packets

This makes code clearer a bit.

Tested-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/iforce/iforce-packets.c