On Mon, 31 Aug 2009, Peter Hutterer wrote:

> On Mon, Aug 31, 2009 at 09:13:01AM +1000, Timothy S. Nelson wrote:
>> I have a pointing device with 5 axes (a Space Navigator).  Does anyone
>> know how I can assign one of them to be a scroll wheel?
>
> provided that the space navigator gives you x/y axes and you're running
> evdev from master, enable wheel emulation on button 0.

        Hmm.  Like this?

Device '3Dconnexion SpaceNavigator':
        Device Enabled (133):   1
        Evdev Reopen Attempts (266):    10
        Evdev Axis Inversion (267):     0, 0
        Evdev Axis Calibration (268):
        Evdev Axes Swap (269):  0
        Evdev Middle Button Emulation (270):    2
        Evdev Middle Button Timeout (271):      50
        Evdev Wheel Emulation (272):    1
        Evdev Wheel Emulation Axes (273):       0, 0, 4, 5
        Evdev Wheel Emulation Inertia (274):    0
        Evdev Wheel Emulation Timeout (275):    200
        Evdev Wheel Emulation Button (276):     0
        Evdev Drag Lock Buttons (277):  0

        Because I still get mouse movements when I do that.

> tis turns every motion into a scroll wheel event.

        Hmm.  But I want to map two of the axes to mouse movements, and two to 
scroll.  Can that be done?

> for horizontal scrolling, you need to set the XAxisMapping option, it is
> unset by default. set it to 6/7 for left/right scrolling.

        Ok, I haven't tried this yet, but use this tip when I get the 
scrolling working.

        :)


---------------------------------------------------------------------
| Name: Tim Nelson                 | Because the Creator is,        |
| E-mail: wayl...@wayland.id.au    | I am                           |
---------------------------------------------------------------------

----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to