Repository navigation
Commit 376cfea
Input: synaptics - fix middle button on Lenovo 2015 products
[ Upstream commit dc5465d ]
On the X1 Carbon 3rd gen (with a 2015 broadwell cpu), the physical middle
button of the trackstick (attached to the touchpad serio device, of course)
seems to get lost.
Actually, the touchpads reports 3 extra buttons, which falls in the switch
below to the '2' case. Let's handle the case of odd numbers also, so that
the middle button finds its way back.
Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>1 parent ad565a9 commit 376cfea
1 file changed
Lines changed: 21 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
661 | 673 | | |
662 | 674 | | |
663 | 675 | | |
| |||
744 | 756 | | |
745 | 757 | | |
746 | 758 | | |
747 | | - | |
| 759 | + | |
748 | 760 | | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
| 761 | + | |
769 | 762 | | |
770 | 763 | | |
771 | 764 | | |
| |||
832 | 825 | | |
833 | 826 | | |
834 | 827 | | |
| 828 | + | |
835 | 829 | | |
836 | 830 | | |
837 | 831 | | |
| |||
845 | 839 | | |
846 | 840 | | |
847 | 841 | | |
848 | | - | |
849 | | - | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
850 | 848 | | |
851 | 849 | | |
852 | 850 | | |
| |||
0 commit comments