commit | f85e5001cce0298a44e35e2f8acbf9abeadb6c03 | [log] [tgz] |
---|---|---|
author | Kevin Cernekee <cernekee@gmail.com> | Wed Feb 13 22:26:11 2013 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu Feb 14 09:18:25 2013 -0800 |
tree | 0dc2551cc497f6049e4e397e35fb1d6778c7d721 | |
parent | 7a9f73e75cd0dcd320166aa340141893bd1848d1 [diff] |
Input: ALPS - make the V3 packet field decoder "pluggable" A number of different ALPS touchpad protocols can reuse alps_process_touchpad_packet_v3() with small tweaks to the bitfield decoding. Create a new priv->decode_fields() callback that handles the per-model differences. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Tested-by: Dave Turvene <dturvene@dahetral.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>