Utility for modifying keymaps and pointer button mappings in X. More information: https://manned.org/xmodmap.
<LeftClick>
and <RightCLick>
on the pointer:xmodmap -e 'pointer = 3 2 1'
xmodmap -e 'keycode {{keycode}} = {{keyname}}'
xmodmap -e 'keycode {{keycode}} ='
xmodmap {{path/to/file}}