Skip to content

input: fix axis shortcut direction

Yifan Zhu requested to merge work/fanzhuyifan/scroll into master

Currently kwin directly construct pointerAxis events from libinput, instead of relying on QWheelEvent. So positive delta corresponds to right/down, instead of left/up.

BUG: 483601

I am not sure after which commit the directions changed, but here is the libinput documentation explaining positive delta is right/down, and here is the Qt documentation about QWheelEvent, which has the opposite convention.

Merge request reports

Loading