9

I'd like to reverse scroll direction, but only on my BCM5794 multitouch trackpad. Is this possible?

Naftuli Kay
  • 38,686
  • 85
  • 220
  • 311

1 Answers1

6

Yes:

xinput set-button-map ID <button map>

Where you find the ID via xinput list and the <button map> is what you would have passed to xmodmap. For instance I replace buttons on my USB mouse but I don't want my trackpad munged, my ~/.Xmodmap used to look like this:

pointer = 1 17 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 18 19 20 21 22 23 24

But using that changes all pointing devices including my built in trackpad, so I know that the xinput id is 10 so I run this:

xinput set-button-map 10 1 17 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 18 19 20 21 22 23 24
utopiabound
  • 3,244
  • 21
  • 19