Launchpad has imported 12 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=29905.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-08-31T13:15:03+00:00 Albert Zeyer wrote:

It would be nice to have acceleration for the mouse wheel.

Report on Launchpad: https://bugs.launchpad.net/ubuntu/+source/meta-
kde/+bug/619403

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/3

------------------------------------------------------------------------
On 2010-08-31T13:31:11+00:00 Albert Zeyer wrote:

I am trying right now to implement this myself.

As I am not that used to the Xorg sources, this is what I want to do in
xf86-input-mouse:

* Add some attributes in the _MouseDevRec struct (in fx86OSmouse.h) which are 
about the acceleration properties.
* In MouseCommonOptions in mouse.c, I am adding some additional handling to 
read those acceleration attributes.
* At some point in the input handling in mouse.c, add that acceleration 
handling (at what point exactly?). I plan to just throw out multiple button 4,5 
press events.

Please give some comments about how to do it right.

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/5

------------------------------------------------------------------------
On 2010-08-31T13:35:14+00:00 Albert Zeyer wrote:

Or probably it is better to add those properties to mousePrivRec (in
mousePriv.h).

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/6

------------------------------------------------------------------------
On 2010-08-31T13:36:33+00:00 Julien Cristau wrote:

As far as X is concerned mouse wheel is a couple of buttons, so I'm not
sure what acceleration would mean there.  This sounds like it should be
implemented in clients.  In any case moving to evdev as you probably
don't want to be doing that in the mouse driver anyway.

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/7

------------------------------------------------------------------------
On 2010-09-02T03:29:37+00:00 Albert Zeyer wrote:

Ok, I am in the middle of a progress here. I am trying to optimise it a
bit further. But I will attach my current progress so far so you can
review it and give some comments because I actually have the problem
that sometimes (mostly after I restart xinit on a running Xserver),
somehow the device property names are messed up or at least xinput shows
this:


az@acompneu 1275 (~) %xinput list-props 8
Device 'Microsoft Microsoft IntelliMouse® Explorer':
        NumLock (119):  1
        left_ptr (241):         ... of unknown type 
_DBUS_SESSION_BUS_SELECTION_az_9797c07820e7488abd822c644c1f55a4

        _DBUS_SESSION_BUS_ADDRESS (243):        0
        _DBUS_SESSION_BUS_PID (244):    0
        KDE_FULL_SESSION (245):         ... of unknown type 
_DBUS_SESSION_BUS_SELECTION_az_9797c07820e7488abd822c644c1f55a4

        KDE_SESSION_VERSION (246):              ... of unknown type
_DBUS_SESSION_BUS_SELECTION_az_9797c07820e7488abd822c644c1f55a4

        WM_PROTOCOLS (247):             ... of unknown type
_DBUS_SESSION_BUS_SELECTION_az_9797c07820e7488abd822c644c1f55a4

        Evdev Reopen Attempts (226):    10
        Evdev Axis Inversion (227):     0, 0
        Evdev Axes Swap (229):  0
        _NET_WM_CONTEXT_HELP (251):     "LevelFive" (127), "AltGr" (128)
        _NET_WM_SYNC_REQUEST (252):     "Alt" (120), "LevelThree" (121), "LAlt" 
(122), "RAlt" (123), "RControl" (124), "LControl" (125), "ScrollLock" (126), 
"_KDE_SPLASH_PROGRESS" (239), "WM_LOCALE_NAME" (240), "_XKB_RULES_NAMES" (238), 
"_XKB_RULES_NAMES" (238), "_XKB_RULES_NAMES" (238), "_XKB_RULES_NAMES" (238)
        Evdev Middle Button Emulation (230):    2
        Evdev Middle Button Timeout (231):      50
        Evdev Wheel Emulation (232):    0
        Evdev Wheel Emulation Axes (233):       0, 0, 4, 5
        Evdev Wheel Emulation Inertia (234):    10
        Evdev Wheel Emulation Timeout (235):    200
        Evdev Wheel Emulation Button (236):     4
        Evdev Drag Lock Buttons (237):  0


It looks a lot like some memory is messed up. I already tried to debug with 
valgrind but I didn't see anything related (a whole bunch of other messages 
show up there, so I also might have missed it).

Another thing which makes the debuggin a bit complicated: Most
applications seem to scroll already for one event by multiple pixel;
about 20 pixel in Chrome. And I have set it to the minimum possible
value in the KDE settings (not sure if Chrome takes those or has its own
settings). That makes the debugging quite hard because the scrolling is
soon pretty much too fast.

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/9

------------------------------------------------------------------------
On 2010-09-02T03:40:33+00:00 Albert Zeyer wrote:

Created attachment 38377
mouse wheel acceleration patch - rev1

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/10

------------------------------------------------------------------------
On 2010-09-02T11:58:53+00:00 Denis-dzyubenko wrote:

just added me to the CC. Sounds like a good idea to have acceleration.

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/11

------------------------------------------------------------------------
On 2010-09-02T13:57:26+00:00 Albert Zeyer wrote:

Comment on attachment 38377
mouse wheel acceleration patch - rev1

Note that this patch is already outdated. I have posted a new version to
the mailinglist. I am not sure if I will keep updating the patch also
here, so please watch out for the patch on the mailinglist.

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/12

------------------------------------------------------------------------
On 2010-09-02T15:49:48+00:00 Albert Zeyer wrote:

good values to play with: speed-multiplier: 100, max-speed: 20

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/14

------------------------------------------------------------------------
On 2010-09-02T16:05:40+00:00 Albert Zeyer wrote:

Created attachment 38386
mouse wheel acceleration patch - rev2

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/15

------------------------------------------------------------------------
On 2011-10-09T10:57:54+00:00 Jeremy Huddleston wrote:

Can you please send your patches to xorg-devel for review.  Please rebase them 
on top of current git master if appropriate.  Thanks.

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/18

------------------------------------------------------------------------
On 2012-02-07T23:40:33+00:00 evgom wrote:

Don't work for xorg-server-1.11.4 :( Please fix it.

Reply at: https://bugs.launchpad.net/xorg-server/+bug/619403/comments/19

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/619403

Title:
  [KDE] no option for mouse wheel acceleration

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/619403/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to