Portable electronic device including virtual keyboard and method of controlling same
View Patent ↗A method includes displaying a keyboard on a display of an electronic device, detecting a tilt of the device, and when the detected tilt is associated with a keyboard transformation function, resizing one or keys of the keyboard.
1. A method comprising:
displaying a keyboard on a display of an electronic device;
detecting a tilt of the device, which tilt is associated with a keyboard transformation function; and
when the detected tilt is in a first direction, resizing one or more keys of the keyboard;
when the detected tilt is in a second direction, which second direction is different from the first direction, capitalizing the letters on the keys of the keyboard.
2. The method according to claim 1 , wherein the resizing comprises changing the width of the keys.
3. The method according to claim 1 , wherein one or more keys proximate a first tilted up side of the device are resized to be larger than one or more keys proximate a second tilted down side of the device to simulate an effect of gravity on the keys of the keyboard.
4. The method according to claim 2 , wherein the detected tilt is associated with a keyboard transformation function when the detected tilt comprises a sideward tilt.
5. The method according to claim 2 , wherein the detected tilt is associated with a keyboard transformation function when the detected tilt comprises one of a frontward or backward tilt.
6. The method according to claim 2 , wherein the keys gradually decrease in size from the first, tilted up side to the second, tilted down side.
7. The method of claim 1 , wherein the detected tilt is associated with a keyboard transformation function when the detected tilt meets a predetermined threshold.
8. The method of claim 7 , wherein the predetermined threshold is a predetermined tilt angle.
9. The method according to claim 1 , wherein the resizing is animated at a rate dependent on the tilt detected.
10. The method according to claim 1 , wherein the keys of the keyboard are divided into one or more groups, and resizing comprises resizing all keys within one group.
11. The method according to claim 10 , wherein all keys within one group are resized by one factor.
12. The method according to claim 1 , wherein resizing comprises graphically animating a change in size or movement of the keys.
13. The method according to claim 1 , wherein the keyboard is resized according to the available display width.
14. The method according to claim 1 , wherein the keyboard is in a portrait orientation.
15. The method according to claim 1 , wherein the keyboard is in a landscape orientation.
16. A non-transitory computer-readable medium having computer-readable code executable by at least one processor of a portable electronic device to perform the method according to claim 1 .
17. An electronic device comprising:
a touch-sensitive display;
at least one processor coupled to the touch-sensitive display and configured to:
display a keyboard on the touch-sensitive display;
detect a tilt of the device, which tilt is associated with a keyboard transformation function;
when the detected tilt is in a first direction, resize one or more keys of the keyboard; and
when the detected tilt is in a second direction, which second direction is different from the first direction, capitalizing the letters on the keys of the keyboard.