Does anyone know how to do this on xtype?

Holding a key down and then pressing another key is not yet supported by XTYPE. One solution would be use an onscreen keyboard and then use XCLICK to simulate the key presses. Or see here: