[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#374652: xserver-xorg-input-mouse: trouble trying to permute mouse buttons (lefthanded)



Package: xserver-xorg-input-mouse
Version: 1:1.0.4-3
Severity: normal

Hello,

excerpt from xorg.conf:
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "false"
        Option          "ZAxisMapping"          "4 5"
EndSection

This is for a USB mouse. If I try to use it lefthanded, either using
xfce4 mouse setup  or with xmodmad -e "pointer = 3 2 1 4 5 6 7 8 9", 
xev shows this strange behaviour:

ButtonPress event, serial 28, synthetic NO, window 0x3600001,
    root 0x4c, subw 0x0, time 4053401923, (134,112), root:(557,405),
    state 0x0, button 1, same_screen YES

ButtonPress event, serial 28, synthetic NO, window 0x3600001,
    root 0x4c, subw 0x0, time 4053401923, (134,112), root:(557,405),
    state 0x100, button 3, same_screen YES

ButtonRelease event, serial 28, synthetic NO, window 0x3600001,
    root 0x4c, subw 0x0, time 4053402019, (134,112), root:(557,405),
    state 0x500, button 1, same_screen YES

ButtonRelease event, serial 28, synthetic NO, window 0x3600001,
    root 0x4c, subw 0x0, time 4053402019, (134,112), root:(557,405),
    state 0x400, button 3, same_screen YES

while the normal behaviour is:

ButtonPress event, serial 28, synthetic NO, window 0x3600001,
    root 0x4c, subw 0x0, time 4053337678, (78,103), root:(501,396),
    state 0x0, button 1, same_screen YES

ButtonRelease event, serial 28, synthetic NO, window 0x3600001,
    root 0x4c, subw 0x0, time 4053337790, (78,103), root:(501,396),
    state 0x100, button 1, same_screen YES

That is, with the left-handed config, pressing either button 1 or 3
generates both events. Any clue ?

TIA

Pascal Dupuis

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)

Versions of packages xserver-xorg-input-mouse depends on:
ii  libc6                         2.3.6-13   GNU C Library: Shared libraries
ii  xserver-xorg-core             1:1.0.2-8  X.Org X server -- core server

xserver-xorg-input-mouse recommends no packages.

-- no debconf information



Reply to: