This is the "deep" part. You’ll need to map virtual buttons for Right Click (to move units) and Shift (to select multiple groups).

What is your ? (to see if it can handle emulation)