Presenting buttons for controlling an application
Content of an application is presented for display. A virtual controller module receives information relating to keyboard characters for controlling operation of the application. The virtual controller module presents, based on the received information, a first set of buttons for display, where the buttons are to control operation of the application, and where the buttons are mapped to corresponding ones of the keyboard characters.
1. A method implemented by an electronic device, the method comprising:
obtaining application information associated with an application stored on the electronic device, the application information comprised in metadata received at the electronic device from a same remote source as the application;
launching the application at the electronic device in a web browser;
prompting, based on the application information, user input;
launching, in response to the user input, a virtual controller at the electronic device in the web browser;
mapping, using the virtual controller based on the user input, control functions of the application to a subset of keyboard characters, wherein the subset of keyboard characters comprises fewer than all of a plurality of keyboard characters of a virtual keyboard;
storing, by the virtual controller, the mapping of the control functions;
rendering and displaying, by a display screen of the electronic device, the subset of keyboard characters based on the mapping; and
controlling operation of the application in response to actuation of the subset of keyboard characters.
2. The method of claim 1 , wherein the display screen is a touch sensitive display.
3. The method of claim 1 , wherein the subset of keyboard characters is rendered and displayed in an arrangement corresponding to an arrangement of the keyboard characters in a physical keyboard.
4. The method of claim 1 , wherein a layout of the subset of keyboard characters on the display screen is customizable.
5. The method of claim 1 , wherein the application is a plug-in application for the web browser.
6. The method of claim 1 , wherein launching the application on the electronic device occurs prior to obtaining the application information.
7. The method of claim 1 , wherein the application information is obtained from a remote site over a network.
8. An electronic device, comprising:
at least one processor; and
a display device having a touch-sensitive display screen, the at least one processor being configured to:
obtain application information associated with an application stored on the electronic device, the application information comprised in metadata received at the electronic device from a same remote source as the application;
launch the application at the electronic device in a web browser;
prompt, based on the application information, user input;
launch, in response to the user input, a virtual controller at the electronic device in the web browser;
map, using the virtual controller based on the user input, control functions of the application to a subset of keyboard characters, wherein the subset of keyboard characters comprises fewer than all of a plurality of keyboard characters of a virtual keyboard;
store, by the virtual controller, the mapping of the control functions;
render and display the subset of keyboard characters based on the mapping; and
control operation of the application in response to actuation of the subset of keyboard characters.
9. The electronic device of claim 8 , wherein the subset of keyboard characters is rendered and displayed in an arrangement corresponding to an arrangement of the keyboard characters in a physical keyboard.
10. The electronic device of claim 8 , wherein a layout of the subset of keyboard characters on the display screen is customizable.
11. The electronic device of claim 8 , wherein the application is a plug-in application for the web browser.
12. The electronic device of claim 8 , wherein the at least one processor is further configured to launch the application on the electronic device prior to obtaining the application information.
13. A non-transitory computer-readable medium storing code which, when executed by a processor of an electronic device, causes the electronic device to implement:
obtaining application information associated with an application stored on the electronic device, the application information comprised in metadata received at the electronic device from a same remote source as the application;
launching the application at the electronic device in a web browser;
prompting, based on the application information, user input;
launching, in response to the user input, a virtual controller at the electronic device in the web browser;
mapping, using the virtual controller based on the user input, control functions of the application to a subset of keyboard characters, wherein the subset of keyboard characters comprises fewer than all of a plurality of keyboard characters of a virtual keyboard;
storing, by the virtual controller, the mapping of the control functions;
rendering and displaying, by a display screen of the electronic device, the subset of keyboard characters based on the mapping; and
controlling operation of the application in response to actuation of the subset of keyboard characters.
14. The non-transitory computer-readable medium of claim 13 , wherein the subset of keyboard characters is rendered and displayed in an arrangement corresponding to an arrangement of the keyboard characters in a physical keyboard.
15. The non-transitory computer-readable medium of claim 13 , wherein a layout of the subset of keyboard characters on the display screen is customizable.
16. The non-transitory computer-readable medium of claim 13 , wherein the application is a plug-in application for the web browser.
17. The non-transitory computer-readable medium of claim 13 , wherein the electronic device is caused to implement obtaining the application information after the application is launched.