Desktop and laptop, sure. Mobile (which I assumed meant a palmtop such as a smartphone), not so much. If you change the layout of your keyboard, you will touch type. This is a very different kind of memory than the typical hunt&peck. Phone virtual keyboards are even more different.
In practice, my dekstop and laptop use the Bépo layout (a Dvorak-like for French), and I kept Azerty (French Qwerty derivative) on my phone. The discrepancy never caused me any problem.