One button

Ross Burton ross at burtonini.com
Mon Mar 26 09:50:02 PDT 2007


On Mon, 2007-03-26 at 17:39 +0100, Kai Hendry wrote:
> 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

Hm, shame.

> xmodmap -pp
> is useful. Resource I used:
> http://web.mit.edu/answers/xwindows/xwindows_xmodmap.html

That appears to be an old version of the manpage. :)

Ross
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF






More information about the xorg mailing list