A touch-sensitive device configured to sense touch input provided by different input sources, the input sources comprising fingers and an active stylus , the touch-sensitive device comprising: a capacitance-based touch sensor including a plurality of electrodes ; drive circuitry configured to selectively drive the plurality of electrodes with a synchronization waveform to enable the active stylus to become time synchronized with the touch-sensitive device ; receive circuitry configured to interpret a response on one or more electrodes of the plurality of electrodes to determine a position of the active stylus , the response caused by a first waveform being driven on a stylus electrode of the active stylus ; and where the touch-sensitive device is configured to 1) upon receiving, via one or more electrodes of the plurality of electrodes , the first waveform from the active stylus at a first time associated with the synchronization waveform, determine a position of the active stylus based on the first waveform being received at the first time, characterized in that the touch-sensitive device is configured to 2) upon receiving, via one or more electrodes of the plurality of electrodes , the first waveform at a second time associated with the synchronization waveform, determine that the active stylus is hovering based on the first waveform, and 3) upon receiving, via one or more electrodes of the plurality of electrodes , one or more additional waveforms at the second time, determine stylus information of the active stylus based on the one or more additional waveforms; wherein the drive circuitry is configured to switch among two or more search modes to alter input source detection; and wherein the first waveform does not interfere with one of the two or more search modes. a capacitance-based touch sensor including a plurality of electrodes ; drive circuitry configured to selectively drive the plurality of electrodes with a synchronization waveform to enable the active stylus to become time synchronized with the touch-sensitive device ; receive circuitry configured to interpret a response on one or more electrodes of the plurality of electrodes to determine a position of the active stylus , the response caused by a first waveform being driven on a stylus electrode of the active stylus ; and where the touch-sensitive device is configured to 1) upon receiving, via one or more electrodes of the plurality of electrodes , the first waveform from the active stylus at a first time associated with the synchronization waveform, determine a position of the active stylus based on the first waveform being received at the first time, characterized in that the touch-sensitive device is configured to 2) upon receiving, via one or more electrodes of the plurality of electrodes , the first waveform at a second time associated with the synchronization waveform, determine that the active stylus is hovering based on the first waveform, and 3) upon receiving, via one or more electrodes of the plurality of electrodes , one or more additional waveforms at the second time, determine stylus information of the active stylus based on the one or more additional waveforms; wherein the drive circuitry is configured to switch among two or more search modes to alter input source detection; and wherein the first waveform does not interfere with one of the two or more search modes. <EOS>