One button

Kai Hendry hendry at
Mon Mar 26 09:39:01 PDT 2007

On 2007-03-26T16:04+0100 Ross Burton wrote:
> Could you use xmodmap and the pointer command to map all physical
> buttons to the logical button 1?

Doesn't seem to let me define all to one. Unless I am missing something?

monty$ xmodmap -e "pointer = 1"
Warning: Only changing the first 1 of 9 buttons.
monty$ xmodmap -e "pointer = 1 1 1"
Warning: Only changing the first 3 of 9 buttons.
X Error of failed request:  BadValue (integer parameter out of range for
  Major opcode of failed request:  116 (X_SetPointerMapping)
  Value in failed request:  0x1
  Serial number of failed request:  9
  Current serial number in output stream:  9

xmodmap -pp
is useful. Resource I used:

Thanks again,

More information about the xorg mailing list