def _get_cursor(self, proximity_rec):
        key = (proximity_rec.vendorID,
               proximity_rec.tabletID, 
               proximity_rec.pointerID,
               proximity_rec.deviceID, 
               proximity_rec.systemTabletID,
               proximity_rec.vendorPointerType,
               proximity_rec.pointerSerialNumber,
               proximity_rec.uniqueID,
               proximity_rec.pointerType)

        if key in self._cursors:
            cursor = self._cursors[key]
        else:
            self._cursors[key] = cursor = \
                CarbonTabletCursor(proximity_rec.pointerType)

        self._cursor = cursor
        return cursor
dataset/ETHPy150Open ardekantur/pyglet/pyglet/input/carbon_tablet.py/CarbonTabletCanvas._get_cursor/original