add a dpi / dpcm / dpwhatever detector