a method for determining the compatibility of a working surface with an optical mouse having an optical sensor including using the optical sensor to sense the optical characteristics of the working surface , using a judging circuit to judge the compatibility of the working surface with the optical mouse according to the optical characteristics sensed by the optical sensor , using the judging circuit to generate a judging signal according to the result obtained in step .