One button

Daniel Stone daniel at fooishbar.org
Mon Mar 26 10:24:21 PDT 2007


On Mon, Mar 26, 2007 at 05:50:02PM +0100, Ross Burton wrote:
> 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.

Yeah, it's a protocol limitation.  Sigh.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070326/83de16e1/attachment.pgp>


More information about the xorg mailing list