What is the command sent by the home button on iPad bluetooth keyboards?
I found a Bluetooth keyboard designed for iPad and other platforms here.  The product pictures show two labels on the top row of keys.

The top left key is labelled with both the "home" roundrect icon and "Esc".



So I think it would be worth trying to send the key code for Escape.