1. A computer-implemented method, comprising: capturing first image data using a camera of a computing device; determining that there is one fingertip within a threshold distance of the computing device represented in the first image data; activating a self-capacitance mode of the computing device, the computing device capable of operating in at least the self-capacitance mode and mutual capacitance mode; detecting, using at least one capacitance sensor of the computing device operating in the self-capacitance mode, a position of the computing device closest to the fingertip when the computing device is not contacting the fingertip; capturing second image data using the camera; determining that there is more than one fingertip within the threshold distance represented in the second image; activating the mutual capacitance mode of the computing device; detecting, using at least one capacitance sensor of the computing device operating in the mutual capacitance mode, a first position of the computing device closest to a first fingertip when the computing device is not contacting the first fingertip; and detecting, using at least one capacitance sensor of the computing device operating in the mutual capacitance mode, a second position of the computing device closest to a second fingertip when the computing device is not contacting the second fingertip.