I like magnetic force too. My guess is that they use two magnets of different polar orientation on the key and below the key, like -+ to +- or +- to -+. This keeps the key floating above the base.
If they are really with the times, then they will use printed polymagnets:
Programmed magnets, or polymagnets are magnetic structures that incorporate correlated patterns of magnets with alternating polarity, designed to achieve a desired behavior and deliver stronger local force. By varying the magnetic fields and strengths, different mechanical behaviors can be controlled.
https://en.wikipedia.org/wiki/Programmable_magnet