def _motion(self, e):
        cursor = self._cursor_map.get(e.deviceid)
        x = e.x
        y = self.window.height - e.y
        pressure = e.axis_data[2] / float(cursor.max_pressure)
        self.dispatch_event('on_motion', cursor, x, y, pressure, 0.0, 0.0)
dataset/ETHPy150Open ardekantur/pyglet/pyglet/input/x11_xinput_tablet.py/XInputTabletCanvas._motion/original