NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xinput for mouse button mapping



On Fri 13 Mar 2026 at 10:11:50 +0000, Steve Blinkhorn wrote:
> I'm sure I once used a tool that reported raw button numbers, but have
> forgotten its name - but it probably began with x - not much of a clue
> is it?

It could well be xmodmap: I use that to map my mouse to left-handed use
(swap the left and right hand side buttons):

xmodmap -e "pointer = 3 2 1 4 5 6 7 8 9 10 11" ||
    xmodmap -e "pointer = 3 2 1"

(it tries both because the first option preserves "scroll wheel"
"buttons" but it may fail when those are not preset)

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index