Set touchpad state.