Comment 37 for bug 1639337

Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

that is ... weird. the code paths are supposed to be the same and if the raw motion doesn't see the axis, the xi1 event is not supposed to see the axis either. RawMotion is what comes straight from the device, before the other events are assembled.

I replayed attachment 127745 here and the pressure valuator definitely shows up with xi2 as well. Note however that unlike XI 1.x where the valuators are continuous, XI2 has a bitmask with the valuators set as they come in from the device. IOW, events like these:

EVENT type 17 (RawMotion)
    device: 25 (25)
    detail: 0
    flags:
    valuators:
          2: 591.00 (591.00)

Or even like these:

EVENT type 17 (RawMotion)
    device: 25 (25)
    detail: 0
    flags:
    valuators:
          0: 7642.00 (7642.00)
          2: 617.00 (617.00)

So afaict, the evdev driver works correctly and events are sent to clients as expected. Not sure why krita doesn't see it, but right now I'm ETIME on almost everything so you'll have to investigate that yourself, sorry.