Patent ID: 8209737
Filing Date: 2012-06-26
Classification: G06F,G08C

Abstract:
1. A method of controlling a consumer product, comprising the steps of: setting a model of an input device in an application program of the consumer product, wherein the consumer product has limited applicable input devices pre-programmed into the consumer product, and the input device is not any one of the limited applicable input devices pre-programmed into the consumer product; defining the application program, programmed based at least in part on a middleware of the consumer product, for interpreting meanings of received key codes and driving the consumer product to perform functions corresponding to the received key codes; connecting the input device to the consumer product; detecting input to the input device and generating an input event based upon the type of motion range and number of dimensions of motion of the control means of the input device; translating the input event of the input device into at least one key code based upon the type of motion range and the number of dimensions of motion of the control means of the input device, wherein each key code is recognized by the middleware of the consumer product; transmitting the at least one key code to the consumer product; and executing the at least one key code by the application program so as to control the consumer product.