How will the capacitive buttons work on the One X?

If the One X (and One S, for that matter) use capacitive instead of on-screen buttons, then how will it deal with a legacy app that does not have a built-in menu button for ICS?