Patent ID: 7873764
Filing Date: 2011-01-18
Classification: G06F

Abstract:
1. A method for supporting a plurality of types of human interfaces devices in a switch comprising: receiving a human interface device report descriptor from a human interface device during enumeration, the report descriptor identifying a device mapping table having an X coordinate, a Y coordinate, a button and a wheel; analyzing the human interface device report descriptor to determine the device mapping table; creating a button mask table for the button of the device mapping table and storing the button in the button mask table; creating an X coordinate mask table for the X coordinate of the device mapping table and storing the X coordinate in the X coordinate mask table; creating a Y coordinate mask table for the Y coordinate of the device mapping table and storing the Y coordinate in the Y coordinate mask table; receiving a human interface device report from the human interface device; using the mask tables to extract the button, X coordinate and Y coordinate values from the human interface device report; and inserting the button, X coordinate and Y coordinate values into a switch report, which is interpreted by a host using a switch report descriptor that is different than the human interface device report descriptor received from the human interface device during enumeration, and which describes a composite human interface device having at least some functionalities of the human interface device.