Text input for handhelds and wearables