 The keys are held in their rest position by magnets; when the magnetic force is overcome to press a key, the optical path is unblocked and the keypress is registered.When a key is struck, it oscillates (or bounces) against its contacts several times before settling.When released, it oscillates again until it reverts to its rest state.