Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

share|improve this question
    
    
That switches it for both my external USB mouse as well as the trackpad. How can I do it for only the touchpad? –  Naftuli Tzvi Kay May 9 '12 at 4:24
    
Weird. Sounds like a xinput problem then. –  Ignacio Vazquez-Abrams May 9 '12 at 4:26
    
Is there something I can do in .Xmodmap to limit it to only BCM5974? –  Naftuli Tzvi Kay May 9 '12 at 4:30
1  
setxkbmap has a --device argument, combining this with the right id from xinput --list might help here (if setxkbmap can be used to specify what you asked for). –  sr_ May 9 '12 at 6:52

1 Answer 1

up vote 2 down vote accepted

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.