主权项 |
1. A computer-implemented method for automatically switching between input modes for a user interface, the method comprising:
displaying, on a screen, a user interface in a first input mode for a first input type; detecting, using a sensor, a distance of a user from the screen; determining, prior to receiving touch input on the screen, that the detected distance from the screen is within a threshold distance; and switching, in response to the determination and prior to receiving the touch input on the screen, the user interface from the first input mode for the first input type to a second input mode for a second input type, wherein the second input mode corresponds to a touch mode for touch input. |