Unified input and invoke handling
First Claim
Patent Images
1. A method, comprising:
- generating, by a system comprising a processor, mappings of input devices to providers, wherein at least two input devices of the input devices are mapped to a single provider of the providers, and at least two providers of the providers are mapped to different input devices of the input devices, wherein a provider of the providers is configured to normalize inputs from the input devices mapped to the provider;
processing, by the system, input from an input device of the input devices, including selecting a selected provider of the providers corresponding to the input device based on the mappings, and routing the input to the selected provider;
normalizing, by the system via the selected provider, the input to generate input-related data;
communicating, by the system, the input-related data from the selected provider to one or more user interface (UI) elements, including providing an input event to a selected UI element; and
performing, by the system, an invoke action at the selected UI element based upon the input event.
1 Assignment
0 Petitions
Accused Products
Abstract
The described technology is directed towards normalizing input received from various types of device types for providing the input to user interface (UI) elements in a unified way that reflects the invoke intent of the user. Input from different device types is classified as button input, pointer input or command input, and routed to a corresponding button provider, pointer provider or command provider. Each provider includes logic for communicating input data (e.g., events) to a UI element or elements. Based upon the input events, a UI element can execute a corresponding invoke handler to take an invoke action for that particular event.
-
Citations
20 Claims
-
1. A method, comprising:
-
generating, by a system comprising a processor, mappings of input devices to providers, wherein at least two input devices of the input devices are mapped to a single provider of the providers, and at least two providers of the providers are mapped to different input devices of the input devices, wherein a provider of the providers is configured to normalize inputs from the input devices mapped to the provider; processing, by the system, input from an input device of the input devices, including selecting a selected provider of the providers corresponding to the input device based on the mappings, and routing the input to the selected provider; normalizing, by the system via the selected provider, the input to generate input-related data; communicating, by the system, the input-related data from the selected provider to one or more user interface (UI) elements, including providing an input event to a selected UI element; and performing, by the system, an invoke action at the selected UI element based upon the input event. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system comprising:
-
a processor; and a memory communicatively coupled to the processor, the memory having stored therein computer-executable instructions, comprising; a user interface (UI) element set comprising one or more UI elements, at least one UI element coupled to an invoke handler that takes an invoke action when executed; an input namespace component configured to; generate mappings of input devices to providers, wherein at least two input devices of the input devices are mapped to a single provider of the providers, and at least two providers of the providers are mapped to different input devices of the input devices, wherein a provider of the providers is configured to normalize inputs from the input devices mapped to the provider, and route input from an input device of the input devices to a selected provider of the providers based upon the mappings; and the selected provider configured to; normalize the input to generate input-related data, and communicate the input-related data to a selected UI element of the UI element set, the selected UI element configured to execute the invoke handler to take the invoke action based upon the input-related data. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A non-transitory computer-readable medium having instructions stored thereon that, in response to execution, cause a system including a processor to perform operations comprising:
-
generating mappings of input devices to providers, wherein at least two input devices of the input devices are mapped to a single provider of the providers, and at least two providers of the providers are mapped to different input devices of the input devices, wherein a provider of the providers is configured to normalize inputs from the input devices mapped to the provider; receiving input from an input device of the input devices; selecting a selected provider of the providers corresponding to the input device based on the mappings; normalizing, by the selected provider, the input to generate input-related data; communicating the input-related data from the selected provider to one or more user interface (UI) elements, including providing an input event to a selected UI element. - View Dependent Claims (17, 18, 19, 20)
-
Specification