One button

Kai Hendry hendry at iki.fi
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
operation)
  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:
http://web.mit.edu/answers/xwindows/xwindows_xmodmap.html


Thanks again,



More information about the xorg mailing list