Application programming interface for a multi-pointer indirect touch input device

Information

  • Patent Grant
  • 9952689
  • Patent Number
    9,952,689
  • Date Filed
    Thursday, July 7, 2016
    8 years ago
  • Date Issued
    Tuesday, April 24, 2018
    6 years ago
Abstract
To allow a computer platform to provide a consistent interface for applications to use information from multi-point indirect touch input devices, an application programming interface is provided to a software interface layer that manages interaction of the system with a variety of instantiations of multi-pointer indirect touch input devices. A runtime module provides information from the indirect touch input devices to an input stack accessible by applications on the computer system. The runtime module provides mapping of contacts on the indirect touch input devices to a display.
Description
BACKGROUND

Manual input devices used for navigation and spatial control of a computing system have a significant impact on capabilities of the computer system and a user's overall experience. There are several kinds of manual input devices. The most common of these for personal computers include single-pointer, indirect interaction devices, such as a mouse or trackpad, and direct interaction devices, such as touchscreens.


A single-pointer, indirect interaction device sensor detects user interaction with the sensor and maps this interaction to a position on a display. One method of mapping points of input to the display involves one-to-one mapping of sensor extents to the extents of the display, which is called absolute mapping. Examples of devices that employ absolute mapping are pen and touch digitizers. Another method involves mapping device sensor coordinates to a movable subportion of the display, which is called relative mapping.


Examples of devices that employ relative mapping are the mouse and devices that emulate the mouse, such as a trackpad. A mouse senses movement, which displaces a presumed starting position by a distance based on the sensed interaction with the device. A trackpad is commonly used in a manner similar to a mouse. The motion of a contact on the trackpad is sensed, and the sensed motion is treated in a manner similar to a mouse input.


A direct interaction device allows interaction with a device that is visually aligned with a display. A direct interaction device maps between positions on a touch sensitive surface and positions on a display of the same size, using an absolute mapping. For example, when a user touches a point on a touchscreen, an input event may trigger an application response, such as command actuation, in the user interface at a position corresponding to the point on the display touched by the user.


Absolute and relative mapping of spatial input from a multi-pointer input device to a display have selective advantages and disadvantages, depending on physical attributes of the input and display devices, the capabilities of the system, the nature and layout of the application user interface, the type of the task the user is performing, and various ergonomic factors.


Most input devices have buttons in addition to their position information. For example, dual-state mechanical buttons are common on mice. Pen digitizers also typically have some pressure-responsive device in the tip. Most software drivers for pen digitizers implement a form of mouse emulation in process tip-related data. Also, buttons and other mechanisms generally are processed as independent inputs of the input device.


Input devices can be made in variety of shapes and sizes, can have different resolutions from each other, and can provide a variety of data as input to the computer.


SUMMARY

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.


To allow a computer platform to provide a consistent interface for applications to use information from multi-point indirect touch input devices, an application programming interface is provided to a software interface layer that manages interaction of the system with a variety of instantiations of multi-pointer indirect touch input devices.


Such a host service can provide capabilities such as discovery and binding of touch controller class devices upon physical attachment to the host system; software driver and hardware-only interfaces for communicating device capabilities, touch data, and device mode changes between the controller and the host system; transformation of stateless input events emitted by touch controllers into one or more user or application-selectable touch interaction models; global management of touch controller device, device connection, and user interaction state; enforcement of base system requirements for touch device controllers; common interface for user device configuration settings; support for device-specific, value-add interaction models; management of host and device security contexts; deployment and servicing model for the touch controller host.


In the following description, reference is made to the accompanying drawings which form a part hereof, and in which are shown, by way of illustration, specific example implementations of this technique. It is understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the disclosure.





DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of an example system using an multi-pointer indirect touch device.



FIG. 2 is a flow chart illustrating an example implementation of viewport placement.



FIG. 3 is a flow chart illustrating an example implementation of contact mapping.



FIG. 4 is a flow chart illustrating another example implementation of contact mapping.



FIG. 5 is a flow chart illustrating an example implementation of contact acceleration.



FIG. 6 is a flow chart illustrating an example implementation of span adjustment.



FIG. 7 is a block diagram of an example computing device in which such a system can be implemented.



FIG. 8 is a block diagram of an example software architecture for use on such a computing device for implementing such a system.





DETAILED DESCRIPTION

The following section provides an example operating environment in which an indirect touch input device can be used. After describing an example implementation of the use of a multi-pointer indirect touch device in connection with FIGS. 1-6, an example software architecture will then be described in connection with FIGS. 7 and 8.


Referring to FIG. 1, a computer system 100 includes a multi-pointer, indirect input device 102, having a sensor, connected to a computer platform 104 (details of an example of which are described below). Such a computer system may be a personal computer, home entertainment system, a projector, a kiosk application, compact personal electronics, or the like. The computer platform has an operating system which manages interaction between one or more applications 108 and resources of the computer platform 104, such as its peripheral devices including the multipointer indirect input device.


Within the operating system, data describing multiple sensed input points 110 is received from the sensor of the multipointer indirect input device 102. These input points are processed to map them to points on a display 120.


This mapping process involves determine an initial mapping of the device coordinate system to the display coordinate system, which can be relative or absolute, and then a mapping of each point from the device coordinate system to the display coordinate system. Such initial mapping occurs at the beginning of each input session.


An input session is from a point in time a first input is detected by the sensor to a point in time a last input is removed from the sensor. During an input session, the input points are likely to move. The input points are mapped to from their new locations in the sensor coordinate system to corresponding new locations in the display coordinate system. This movement mapping can take into consideration issues such as bounding and acceleration.


As shown in FIG. 1, the multiple points 110 are input to a viewport selection module 130 at the beginning of an input session. The viewport selection module provides, as its output, a viewport size and location 132 in the display coordinate system. The viewport defines a region in the display coordinate space to which the sensor coordinate space is mapped. In a configuration in which multiple device sensors are connected to the system, each sensor has its own viewport. The viewport may have a shape that corresponds to the shape of the input device sensor. In some implementations however, the viewport may have a different aspect ratio or orientation from the sensor, or even a different shape. For example, an ellipsoid sensor may be mapped to a rectangular viewport. The viewport's shape is typically defined by the host system, but may also be defined by the device or the user. The viewport's size and position are computed when user inputs are detected by the sensor. When no user inputs are detected by the sensor, the size and position of the viewport are undefined. The viewport is typically not displayed to the user. Together, the viewport's shape, size and position represent the mapping of the sensor coordinate system to the display coordinate system. Settings 134 determine how this mapping is done, such as by relative or absolute mapping, examples of which are described in more detail below.


The multiple points 110 also are input to an input mapping module 140 throughout an input session. The input mapping module provides, as its output, multiple points 142 in the display coordinate system. Settings 134 determine how each point is mapped, such as by determining device and display reference locations for interpreting relative input positions, applying input motion acceleration, span adjustments, and bounding conditions, examples of which are described in more detail below.


Given the multiple points mapped to a display coordinate system, the multiple points 142 can be displayed on the display. Each point can be treated by the operating system 106 and/or applications 108 in a manner similar to any single point, e.g., for selection of a displayed item, or in a manner similar to multiple points from direct touch input sensors, e.g., effecting zoom, rotation or movement of an element in the host system user interface. The range of possible uses of the multiple points, once mapped to the display, is not limiting of this invention.


Given this context, an example implementation of the mapping of multiple points to a display will now be described in more detail in connection with FIGS. 2-4.


In FIG. 2, a flowchart describes an example implementation of how the viewport size and location can be selected by the viewport selection module, and how points can be subsequently mapped.


It should be noted that the following implementation is based upon certain design decisions about a desirable user experience. For example, it is assumed that the relative position of each physical input with respect to other physical inputs is retained upon projection to the display. It is also assumed that distances between all inputs are scaled symmetrically.


Another aspect of the user experience is the kind of mapping between the input device and the display. The mapping can be relative or absolute, and can be independent for each axis. For example, a relative mapping can be applied to the y axis, with an absolute mapping applied to the x axis, or vice versa. Also, both axes can use different relative mappings. The mapping also can be based on logical coordinates or physical dimensions of the input device and the display. If the mapping is based on the physical dimensions of the devices, spatial accuracy is improved, providing a more intuitive and cognitively efficient interface. These decisions about the kind of mapping can be optional settings in the system.


Another aspect of the user experience is a bounding policy. In particular, device inputs can be subject to a display bounding policy for the system. For example, all device inputs can be forced to remain within the display, or only one device input from the set can be forced to remain within the display. Another implementation does not use any bounding policy. These decisions about bounding policy can be optional settings in the system.


The viewport size and location is determined at the beginning of each input session. The start of an input session is detected 200, for example, when one or more input points are detected by the sensor after a period of no user input. The viewport dimensions in each axis may defined by the input device, the host system, or the user. The dimensions can be expressed as either a percentage of the target display device or in physical units of distance. For physical units of distance to be used, the physical and logical (coordinate) extents of both the input sensor and display are provided, by, for example, the device, user input or other means. A position of an output locator, in the display coordinate space, is then retrieved 201. In this implementation, the output locator position is global to the user session (which begins when a user logs in and ends when the user logs off). The output locator position is shared among and updated by multiple single- and multi-pointer input devices connected to the system. The output locator can be a position saved from a previous input session. If there was no previous input session, then the center of the display device, the last position of a mouse or other device, or an alternative default display location can be used as the output locator position.


Next, given known parameters, i.e., coordinates and bounds, of the display device and input device, scaling factors for each axis are determined 202. These parameters typically are stored in memory. In the case of display device, parameters can be retrieved using system API's. In the case of the input device, parameters can be retrieved via device interrogation. Given the coordinates and bounds of the display and input devices, the scaling factors are determined. If an absolute mapping is used, computations based on physical extents are not necessary, and the x and y axis scale factors are based on a one-to-one ratio of the device and display coordinate extents. If a relative mapping is used, then the x and y axis scale factors are determined by the ratios of the device dimensions to the viewport dimensions in display coordinates. The scale factors can be computed once, stored in memory and retrieved when needed.


The viewport extent, i.e., x and y coordinates of its vertices, in the display coordinate space is determined 203 using the determined scale factors. The viewport extent is initially determined for an input session using the saved output locator, before a new output locator is computed as follows.


For a scaled viewport using the pixel density of the display, the scale factors SV are non-zero, positive values between 0 and 1, and the extent of the viewport Rv={LV0x−SVx/[2*extent(RDx)], LV0x+SVx/[2*extent(RDx)], LV0y−SVy/[2*extent(RDy)], LV0y+SVy/[2*extent(RDy)]}, where LV0 is an initial viewport locator, typically the center of the target display, SV are the scale factors and extent (RD) are the x and y coordinate extents of the display, i.e., its pixel width and height, and subscripts x and y indicate those values on the x and y axes.


For a viewport using physical dimensions, where the desired size SV is a non-zero, positive value no greater than the physical extent of the target display, and the pixel density D of the display is known via hardware interrogation, the extent of the viewport Rv={[LV0x−SVx/[2*extent(RDx)]]*Dx+RDx.left, [LV0x+[SVx/[2*extent(RDx)]]*Dx+RDx.left, [LV0y−[SVy/[2*extent(RDy)]]*Dy+RDy.top, [LV0y+SVy/[2*extent(RDy)]]*Dy+RDy.top},


Given an initial extent of the viewport, a sensor locator is then determined 204, initially in the device coordinate system. There are many ways to select the sensor locator, and the particular way chosen is dependent on the desired user interaction. For example, if there is a single input detected by the sensor, the sensor locator can be the coordinates of this single input. If there are multiple inputs, then the sensor locator can be the position of a single “primary” input, or a point having a particular relationship with other inputs, such as the geometric center of all inputs. The sensor locator is undefined when no input points are detected and is not persisted between input sessions.


When the position of a primary input is used as the sensor locator, one of a variety of methods can be used to select and assign primary status to the input. In general, the “primary” input is an input point chosen from among the others by any method. For example, the primary input can be the first input, or the last input, detected in the session. This method carries the drawback of forcing an arbitrary selection in the case of multiple inputs arriving simultaneously. A solution is for the primary input to selected by a form of geometric ordering, such as the highest order input according to a geometric sorting formula (which can be interaction dependent). For example, a sorting formula can sort angles formed by each input point with respect to an origin at the geometric center of all inputs and a reference point. The reference point can be, for example, a vertical line with angle measured based on left or right handedness of a user.


Regardless of method, sensor locator determination may be affected by the time of arrival and departure of inputs. To protect against the condition in which the user intends to arrive or depart multiple inputs simultaneously but instead arrives or departs them at slightly different times, a small time window (e.g., 10-60 ms) can be used to delay sensor locator calculation.


Next, the sensor locator position is mapped 205 from device coordinates to display coordinates. The result is a new output locator position for the frame. This position can be computed by [LS/extent(RS)*extent(RV)]+RV0, where LS is the x or y coordinate of the sensor locator, extent(RS) is the width or height of the sensor coordinate space, and extent (RV) is the width or height of the viewport, and RV0 is the width or height of the initial viewport. This new output locator is constrained to be within the bounds of the display.


Given the new output locator, the viewport is then positioned in the display coordinate space by obtaining 206 the viewport locator. For the first frame of the session, the viewport position is determined; in subsequent frames it is retrieved from memory. The position of the viewport is determined logically, meaning that it is optional whether to display the viewport. In fact, in most implementations it is likely to be preferable not to actually display the viewport.


As noted above, the viewport is a projection of the input sensor coordinate space on the display, and the viewport locator position is the geometric center of the viewport, in display coordinates. As also noted above, unlike the output locator, the viewport is undefined when no inputs are detected by the sensor. It is associated with a particular device instance (rather than global to the user session), and its position is updated when the user initially places inputs on the sensor. After an input session starts, and until the input session ends, the viewport remains stationary between frames. If a frame represents a continuance of an input session (lists of input points from both previous and current frames are not empty), then the viewport locator is retrieved from memory. If the frame initiates a new input session, then the viewport locator is obtained by determining an offset between a sensor locator (determined in step 205) and the output locator position (determined in step 201), as follows.

ΔLD=LD−LD0

LV=[LS/extent(RS)*extent(RV)]+LV0+ΔLD


LV is then constrained to the bounds of the target display and the extent of the viewport, determined above, is recalculated using the new viewport locator.


After computing the sensor locator, viewport locator, and output locator for a frame, the sensor inputs for that frame are then mapped 208 to display coordinates, in a manner described in more detail below. If the input session ends, as determined at 210, then some information about the input session can be saved 212 (such as the last output locator). If the input session has not ended, and if updated sensor input positions are received (as determined at 214), then the process repeats with determining the sensor locator 204 for the frame, through mapping 208 these new sensor inputs to the display. However, where the frame is part of a continuing session, the viewport locator is not determined in step 206, but is retrieved from memory.



FIG. 3 describes how, given the viewport size and location, sensor inputs are mapped to points in the viewport, including the enforcement of boundary conditions (if relative mapping is done) on a single display. FIG. 3 describes a case in which all inputs are constrained to being within the display.


The system receives 300 a list of input points from the device, each having coordinates in the device coordinate space. Next, the input points are mapped 302 to their corresponding points in display coordinate space. For example, the coordinates CD in display coordinate space of a point CS in device coordinate space can be computed by [CS/extent (RS)*extent (RV)]+RV.


A bounding box containing the input points is defined 304. The corners of the bounding box are mapped to and compared 306 to the visual extent of the display. If none of the corners of the bounding box is outside of the visual area of the display, then the input mapping is retained 310. Otherwise, an offset to move the bounding box to be within the visual extent of the display is determined 312. In computing the minimal remedial offset, a displacement vector between previous and current frames of each non-conforming corner of the input bounding box or the individual input define a path and its point of intersection with the visible display boundary. The remedial offset is the displacement between the path's origin and the point of intersection. This offset is applied 314 to the points to re-map them to new positions within the visual area of the display.


In another implementation, the points are constrained so that at least one input point from the device remains displayed. In FIG. 4, the system receives 400 a list of input points from the device, each having coordinates in the device coordinate space. Next, the input points are mapped 402 to their corresponding points in display coordinate space. A bounding box containing the input points is defined 404. The corners of the bounding box are then compared 406 to the visual extent of the display. If at least one of the corners of the bounding box remains in the visual area of the display, then the input mapping is retained 410. Otherwise, a remedial offset to move at least one point of the bounding box to be within the visual extent of the display is determined 412. Next, an offset of the input nearest the contained corner is determined and applied 414 to remedial offset. This updated remedial offset is applied 416 to the points to re-map them to new positions within the visual area of the display.


For multiple monitor displays, the process is similar. There are regular display topologies, where the union of visible areas of the display is a single, rectangular, “virtual” display with no internal voids. For regular display topologies, bounding of multiple inputs to the boundaries of the virtual display surface is identical to that for a single display. There also can be irregular display topologies, where the union of visible areas of the display is a rectilinear virtual display with convex or concave internal voids. For these display topologies, the foregoing methods can be used to compute and apply remedial offsets.


However, an additional failure case is where a point lies in one of the convex or concave internal voids, a bounding box containing only those points outside of the visual area of the display can be computed, and used to compute a remedial offset. In this case, a bounding box is computed to contain input points that do not map to visible areas of the display, herein called a non-conforming bounding box. A minimal remedial offset is computed by which to ensure at least one corner of a non-conforming bounding box is contained within the visible portion of the display. This remedial offset is applied to the device-to-display transform for all inputs.


A more specific example implementation of boundary conditions for multiple monitors will now be described.


In this example, for each input, a target bounding display (RD, target) is determined in the following way. First, it is determined if the input position CD is not contained within a visible region of the virtual display surface. If it is not, then the coordinates of display RD0 of the input for the previous frame are retrieved. For a frame representing a new session, these coordinates are substituted with those of the display containing the output locator position LD. Next, it is determined whether the input CD remains bounded by RD0 in either the x or y axis. If a positive test is observed in either axis, then the target bounding display is the display RD0. Otherwise, the input is out of the bounds of display RD0. A displacement vector ΔSS in sensor coordinates is then determined for this input: ΔSS=CS−CS0. The extent of the sensor, extent(RS), is retrieved. The dominant axis of displacement is determined. The X axis dominates if |ΔSSx/extent(RSx)|>=|ΔSSy/extent(RSy)|. Otherwise the Y axis dominates.


The dominant axis of input displacement is then used to determine a target bounding display. If the X axis is dominant, then the target bounding display RD, target is the display that satisfies the following conditions: 1. the input falls in the horizontal range of the display; 2. the target display is in the primary moving direction of the input and shares that boundary with the last display; and 3. the last input position falls into the vertical range of the display. If the Y axis is dominant, then the target bounding display RD, target satisfies the following conditions: 1. the input falls in the vertical range of the display; 2. the target display is in the primary moving direction of the input and shares that boundary with the last display; and 3. the last input position falls into the horizontal range of the display.


If the target bounding display cannot be determined using the dominant direction, then a search is performed in the non-dominant direction. If the target bounding display is still not found, the target display is the input's previous display.


Given the target bounding display for an input, the input is clamped to that display, and the clamping offset is calculated and stored. This clamping offset is applied to all inputs so that the relative distance among them is maintained. After adjusting the inputs in this manner, they are all tested again to ensure they are on the visible part of the display.


In some interaction modes, a small amount of time is allowed to realize the user's intention to make multiple inputs with the sensor simultaneously. When the first input of a session is observed, a timer is activated and arriving inputs are marked inactive, and sensor locator determination is deferred until timer expiration, or terminated if arriving inputs are removed. Likewise, the user may intend to depart inputs simultaneously. To realize this intention without affecting sensor locator position, a timer can be used. The timer is activated, and departing inputs continue to be included in sensor locator computations until the timer expires.


In the foregoing description, in both relative and absolute mapping modes, the input points are mapped directly to display coordinates. In a relative mapping mode, however, the input device can span only a subset of the target display coordinate space. Therefore, navigation from one display location to another location can involve multiple strokes, unless some form of acceleration of the points is applied as movement of the input points is detected. Conversely, in order to achieve pixel-level, point-to-point targeting precision, a form of deceleration of the points can be applied. Such acceleration and deceleration, sometimes referred to as “pointer ballistics,” can be applied to a multiple input, indirect input device in the following manner. The displacement of input points on the input device is taken into consideration in the mapping of the input points from the device coordinate space to the display coordinate space, to accelerate or decelerate, as the case may be, movement of the points on the display. In general, a measure of displacement for the input points is determined. This displacement is the input to a function that determines, based on the displacement, how to alter the mapping of the input device points to their corresponding display coordinates.


In one implementation, the displacement of each input point is determined. The physical displacement in sensor pixels of the input with the lowest magnitude displacement vector is passed through an acceleration curve transform to produce a single accelerated display displacement, and this is applied to the display displacements of the output locator and all points. The inputs to the acceleration function can be either the vector magnitude or a value for each axis can be input to two different acceleration functions. This implementation will now be described in connection with FIG. 5.


First, input points on an input sensor, from first and second points in time, are received 500. Note that how to uniquely identify and track moving or stationary inputs, known in the art as “input recognition and tracking,” is device and sensor specific. The invention is not limited to any specific input recognition and tracking technique. Any technique for such recognition and tracking that has been found to be suitable in the art can be used.


The displacement in device coordinates (i.e., pixels) in each dimension of each input within a time interval is then determined 502. If the time intervals are known to be constant, then the displacement alone can be used. Otherwise the time interval can be used to compute velocity.


For each time interval, or “frame,” of inputs, the input with the smallest magnitude displacement, or velocity, is identified 504. The input with the lowest magnitude is chosen (rather than the average or maximum, for example) so that inputs held stationary on the input sensor remain stationary when mapped to the display.


The displacement of the identified input can be converted from a displacement in pixels to a physical displacement, using the pixel density of the sensor. The displacement value is used as an input to an acceleration function to transform 506 the value to an accelerated displacement. The invention is not limited by the specific acceleration formula used. Any reasonable technique currently used in the art, such as used for mouse pointer acceleration, can be used. The invention generally can be applied to any acceleration formula that permits independent acceleration of each coordinate axis (x, y or z). A suitable transform can be implemented using a piece-wise linear function that maps a displacement value to an accelerated displacement value. The accelerated displacement value, if based on physical dimensions can be converted back to pixel coordinates.


The accelerated displacement is then converted 508 to an accelerated displacement in display coordinate space. For example, the conversion can be expressed by the following: ΔCD=ΔCS/extent (RS)*extent (RV)]+RV. Each input position mapped to display coordinates is then adjusted 510 by the accelerated displacement.


For absolutely mapped dimensions, a similar process called span adjustment can be used, as described in connection with FIG. 6. In FIG. 6, the displacement of each input from the sensor locator is determined 600, in pixels in the device coordinate space. The minimum displacement is selected 602. This minimum displacement value is converted 604 to physical dimensions using the pixel density of the device. The minimum displacement value in physical dimensions is transformed 606 to a span adjustment value, using any appropriate transform. A suitable transform may be similar to the acceleration transform, such as a piece-wise linear function that maps a displacement value to a span adjustment value. This span adjustment value is converted 608 back to pixel values. Similar to acceleration, the span adjustment value is then transformed 610 to display pixel values, and each input point is adjusted 612 using that value.


It should be noted that the acceleration and span adjustment modification to input points is done prior to applying the boundary conditions that ensure that points remain in the visible display area.


Having now described an example implementation, a computing environment in which such a system is designed to operate will now be described. The following description is intended to provide a brief, general description of a suitable computing environment in which this system can be implemented. The system can be implemented with numerous general purpose or special purpose computing hardware configurations. Examples of well known computing devices that may be suitable include, but are not limited to, personal computers, server computers, hand-held or laptop devices (for example, media players, notebook computers, cellular phones, personal data assistants, voice recorders), multiprocessor systems, microprocessor-based systems, set top boxes, game consoles, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.



FIG. 7 illustrates an example of a suitable computing system environment. The computing system environment is only one example of a suitable computing environment and is not intended to suggest any limitation as to the scope of use or functionality of such a computing environment. Neither should the computing environment be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the example operating environment.


With reference to FIG. 7, an example computing environment includes a computing machine, such as computing machine 700. In its most basic configuration, computing machine 700 typically includes at least one processing unit 702 and memory 704. The computing device may include multiple processing units and/or additional co-processing units such as graphics processing unit 720. Depending on the exact configuration and type of computing device, memory 704 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. This most basic configuration is illustrated in FIG. 7 by dashed line 706. Additionally, computing machine 700 may also have additional features/functionality. For example, computing machine 700 may also include additional storage (removable and/or non-removable) including, but not limited to, magnetic or optical disks or tape. Such additional storage is illustrated in FIG. 7 by removable storage 708 and non-removable storage 710. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer program instructions, data structures, program modules or other data. Memory 704, removable storage 708 and non-removable storage 710 are all examples of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by computing machine 700. Any such computer storage media may be part of computing machine 700.


Computing machine 700 may also contain communications connection(s) 712 that allow the device to communicate with other devices. Communications connection(s) 712 is an example of communication media. Communication media typically carries computer program instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal, thereby changing the configuration or state of the receiving device of the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media.


Computing machine 700 may have various input device(s) 714 such as a keyboard, mouse, pen, camera, touch input device, and so on. Output device(s) 716 such as a display, speakers, a printer, and so on may also be included. All of these devices are well known in the art and need not be discussed at length here.


The system can be implemented in the general context of software, including computer-executable instructions and/or computer-interpreted instructions, such as program modules, being processed by a computing machine. Generally, program modules include routines, programs, objects, components, data structures, and so on, that, when processed by a processing unit, instruct the processing unit to perform particular tasks or implement particular abstract data types. This system may be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.


A particular example software architecture will now be described in connection with FIG. 8. One or more indirect touch devices 800 can be connected to the computer platform through a USB/HID interface 802. Each of them has touch controller interface object 804 associated with it, which can be implemented as a dynamically linked library installed as a user-level service by the operating system. A contact recognition module 806 can be provided to provide for low level processing of sensor data from the input device to provide, for each frame, a list of contact and attributes of those contacts. This module could be a software library 806 or a firmware implemented library 806a.


The touch controller interface object 804 has the following methods. An open method allows the caller to open and initialize the device for data transfer following device attachment. A close method allows the caller to close the device, which involves clean up following physical removal. A query method retrieves device data. The device data is stored one or more data structures by the touch controller interface object. The device data can include information such as supported device modes, sensor dimensions and resolution, a maximum number of contacts, pressure entry/exit thresholds. A get method causes the object to transfer an array of stateless contact descriptors, state information (such as locked state status), and frame time information. A set method causes the object to enter into one of a set of modes. For example, this method can enable or disable hardware event reporting modes (e.g. HID mouse) during touch interactions, inform the device of interaction mode changes, or assign power state.


The touch controller interface for each connected device is accessed by a touch controller system (TCS) runtime module 810. Each device connection has a device input/output (i/o) thread 830 that binds touch controller devices to the system, queries and manages touch controller device capabilities, and assigns device modes and attributes of the device in accordance with host conditions and user configuration settings. An input/output (i/o) buffer thread 832 extracts touch data from the device. Each device connection also has an injection thread 834 that injects information from the touch devices to a core input stack 812 accessed by applications 814, to enable a consistent and quality end-user experience for touch controller devices. The TCS runtime module can be implemented as a dynamically linked library installed as a user-level service by the operating system, or can be a kernel-level implementation.


The runtime module performs the various functions for which an example implementation is described above, such as indirect-touch specific interactions, a user interaction model, state transitions based on z-information, mapping modes, acceleration/deceleration, span adjustment, normalization of data across devices, and power management. A control panel 810 is a user interface that allows various settings of the runtime module 810 to be manipulated by the users.


Any or all of the aforementioned alternate embodiments described herein may be used in any combination desired to form additional hybrid embodiments. It should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific implementations described above. The specific implementations described above are disclosed as examples only. The terms “article of manufacture”, “process”, “machine” and “composition of matter” in the preambles of the appended claims are intended to limit the claims to subject matter deemed to fall within the scope of patentable subject matter defined by the use of these terms in 35 U.S.C. § 101.

Claims
  • 1. A computer system comprising: one or more processors and memory; andat least one input for connection to a sensor to receive data describing multiple input points sensed by the sensor into the memory, the input points having locations in a sensor coordinate space;a runtime module, comprising computer program instructions in the memory executed by the one or more processors to map the sensed input points into data describing multiple contacts having locations in a viewport in a display coordinate space for a display of the computer system, and to provide the data describing the multiple contacts to an input stack in the memory accessible by applications executed by the one or more processors,wherein the runtime module further comprises settings including at least a mapping mode, wherein the mapping mode is selected from a group comprising an absolute mapping mode and a relative mapping mode,wherein the runtime module maps the sensed input points from locations in sensor coordinate space into the contacts having locations in the display coordinate space based on at least the viewport and the selected mapping mode, wherein mapping the sensed input points into the contacts comprises: determining displacement of each of the contacts with respect to other contacts, andmodifying the locations of the mapped contacts according to the determined displacement for a selected contact with a lowest magnitude displacement, by determining an offset according to the lowest magnitude displacement, and, for each contact, adding the offset to coordinates of the contact.
  • 2. The computer system of claim 1, further comprising: for each sensor, a touch controller module having an interface; andwherein the runtime module accesses each touch controller module through the interface of the touch controller to access the data describing the multiple sensed input points from the sensor.
  • 3. The computer system of claim 2, wherein the data describing the multiple sensed input points further comprises a list of contacts corresponding to the sensed input points and attributes for the contacts.
  • 4. The computer system of claim 2, wherein the touch controller interface provides characteristics of the sensor.
  • 5. The computer system of claim 4, wherein the characteristics include resolution of the sensor.
  • 6. The computer system of claim 4, wherein the characteristics include dimensions of the sensor.
  • 7. The computer system of claim 1, wherein the runtime module is further configured to apply acceleration, according to an acceleration function, to the contacts when mapping the sensed input points into the contacts.
  • 8. The computer system of claim 7, wherein the runtime module includes a user interface enabling a user to manipulate a setting for the acceleration function.
  • 9. The computer system of claim 1, wherein the runtime module is further configured to apply span adjustment, according to a span adjustment function, to the contacts when mapping the sensed input points into the contacts.
  • 10. The computer system of claim 9, wherein the runtime module includes a user interface enabling a user to manipulate a setting for the span adjustment function.
  • 11. The computer system of claim 1, wherein the display is a virtual display representing multiple monitors.
  • 12. The computer system of claim 1, wherein the sensor comprises a multi-pointer indirect touch input device.
  • 13. The computer system of claim 1, wherein the runtime module includes a user interface enabling a user to select the mapping mode from among at least the absolute mapping mode and the relative mapping mode.
  • 14. A process performed by a computer comprising a processor, a memory, and an input for connection to a sensor, the process comprising: receiving data through the input from the sensor into the memory, the data describing multiple sensed input points having locations in a sensor coordinate space;accessing, by the processor, settings stored in the memory and including at least a mapping mode, wherein the mapping mode is selected from a group comprising an absolute mapping mode and a relative mapping mode;mapping, by the processor, the sensed input points into data in the memory describing multiple contacts having locations in a viewport in a display coordinate space for a display of the computer based on at least the viewport and the mapping mode, wherein mapping the sensed input points into the contacts comprises: determining displacement of each of the contacts with respect to other contacts, andmodifying the locations of the mapped contacts according to the determined displacement for a selected contact with a lowest magnitude displacement, by determining an offset according to the lowest magnitude displacement, and, for each contact, adding the offset to coordinates of the contact; andproviding, by the processor, the data describing the multiple contacts to an input stack in the memory accessible by applications executed by the processor.
  • 15. The process of claim 14, wherein the sensor comprises a multi-pointer indirect touch input device.
  • 16. The process of claim 14, wherein the computer comprises a runtime module, comprising computer program instructions in the memory and processed by the processor, to perform the mapping and to provide a user interface enabling a user to select the mapping mode from among at least the absolute mapping mode and the relative mapping mode.
  • 17. The process of claim 14, wherein the data describing the multiple sensed input points further comprises a list of contacts corresponding to the sensed input points and attributes for the contacts.
  • 18. A computer system comprising: one or more processors and memory; andat least one input for connection to a sensor to receive data describing multiple input points sensed by the sensor into the memory, the input points having locations in a sensor coordinate space;a runtime module comprising computer program instructions stored in the memory and executed by the one or more processors to map the sensed input points into data describing multiple contacts having locations in a viewport in a display coordinate space for a display of the computer system, and to provide the data describing the multiple contacts to an input stack in the memory accessible by applications executed by the one or more processors,wherein the runtime module further comprises settings including at least a boundary condition and a mapping mode, wherein the runtime module presents a user interface on a display enabling a user to select a mapping mode from a group comprising an absolute mapping mode and a relative mapping mode and to select a boundary condition from a group comprising a first boundary condition and a second boundary condition,wherein the runtime module maps the sensed input points from locations in the sensor coordinate space into the contacts having locations in the display coordinate space based on at least the viewport, the selected mapping mode, and the selected boundary condition by:mapping the locations for the sensed input points in the sensor coordinate space to coordinates of initial points in the display coordinate space using the selected mapping mode;in response to the selected mapping mode being the relative mapping mode, determining whether one or more of the initial points are not within a visible area of the display according to the selected boundary condition;in response to determining that the one or more of the initial points are not within the visible area of the display, computing an offset between coordinates of a bounding box including the initial points and coordinates of the viewport wherein the offset, when added to coordinates of the one or more initial points places one or more of the initial points in the visible area of the display according to the selected boundary condition; andadding the computer offset to the coordinates of the initial points to provide coordinates for the multiple contacts.
  • 19. The computer system of claim 18, wherein the data describing the multiple sensed input points further comprises a list of contacts corresponding to the sensed input points and attributes for the contacts.
  • 20. The computer system of claim 18, wherein the sensor comprises a multi-pointer indirect touch input device.
CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 13/306,989, entitled “Application Programming Interface for a Multi-pointer Indirect Touch Input Device”, filed Nov. 30, 2011, pending, which is hereby incorporated by reference.

US Referenced Citations (75)
Number Name Date Kind
5616078 Oh Apr 1997 A
6029214 Dorfman et al. Feb 2000 A
6738045 Hinckley et al. May 2004 B2
6995748 Gordon et al. Feb 2006 B2
7310103 Patton Dec 2007 B2
7629961 Casebolt et al. Dec 2009 B2
7692627 Wilson Apr 2010 B2
7757186 Fabrick et al. Jul 2010 B2
7774155 Sato et al. Aug 2010 B2
7782309 Janik Aug 2010 B2
7796120 Chou Sep 2010 B2
7855718 Westerman Dec 2010 B2
8537115 Hotelling et al. Sep 2013 B2
20020036622 Jaeger Mar 2002 A1
20030169277 Patton Sep 2003 A1
20030222856 Fedorak et al. Dec 2003 A1
20050110769 DaCosta et al. May 2005 A1
20060033712 Baudisch Feb 2006 A1
20060244735 Wilson Nov 2006 A1
20060267953 Peterson et al. Nov 2006 A1
20060279548 Geaghan Dec 2006 A1
20070109275 Chuang May 2007 A1
20070126743 Park et al. Jun 2007 A1
20070229455 Martin et al. Oct 2007 A1
20070257891 Esenther et al. Nov 2007 A1
20080001923 Hall et al. Jan 2008 A1
20080001926 XiaoPing Jan 2008 A1
20080024459 Poupyrev et al. Jan 2008 A1
20080024505 Gordon et al. Jan 2008 A1
20080055256 Kwong et al. Mar 2008 A1
20080122798 Koshiyama et al. May 2008 A1
20080192004 Lapstun Aug 2008 A1
20080259053 Newton Oct 2008 A1
20090046110 Sadler et al. Feb 2009 A1
20090058829 Kim et al. Mar 2009 A1
20090085881 Keam Apr 2009 A1
20090122007 Tsuzaki et al. May 2009 A1
20090128516 Rimon et al. May 2009 A1
20090184939 Wohlstadter et al. Jul 2009 A1
20090213084 Kramer et al. Aug 2009 A1
20090225049 Liu et al. Sep 2009 A1
20090232353 Sundaresan et al. Sep 2009 A1
20090256800 Kaufman Oct 2009 A1
20090256817 Perlin et al. Oct 2009 A1
20090262073 Rigazio et al. Oct 2009 A1
20090284479 Dennis et al. Nov 2009 A1
20090284495 Geaghan et al. Nov 2009 A1
20100020025 Lemort et al. Jan 2010 A1
20100079493 Tse et al. Apr 2010 A1
20100088652 Ramsay et al. Apr 2010 A1
20100097342 Simmons et al. Apr 2010 A1
20100103117 Townsend et al. Apr 2010 A1
20100110040 Kim et al. May 2010 A1
20100139990 Westerman et al. Jun 2010 A1
20100207892 Lin et al. Aug 2010 A1
20100275163 Gillespie et al. Oct 2010 A1
20100289754 Sleeman et al. Nov 2010 A1
20100309139 Ng Dec 2010 A1
20100328227 Matejka et al. Dec 2010 A1
20110007021 Bernstein et al. Jan 2011 A1
20110012835 Hotelling et al. Jan 2011 A1
20110022990 Wu Jan 2011 A1
20110025648 Laurent et al. Feb 2011 A1
20110032198 Miyazawa et al. Feb 2011 A1
20110047504 Wienands et al. Feb 2011 A1
20110050394 Zhang et al. Mar 2011 A1
20110063248 Yoon Mar 2011 A1
20110169748 Tse et al. Jul 2011 A1
20110193809 Walley et al. Aug 2011 A1
20110205182 Miyazawa et al. Aug 2011 A1
20110230238 Aronsson et al. Sep 2011 A1
20110248948 Griffin et al. Oct 2011 A1
20120050180 King et al. Mar 2012 A1
20120105357 Li et al. May 2012 A1
20120242586 Krishnaswamy et al. Sep 2012 A1
Foreign Referenced Citations (19)
Number Date Country
2318815 Jul 1999 CA
1661556 Aug 2005 CN
101027679 Aug 2007 CN
101118469 Feb 2008 CN
101211234 Jul 2008 CN
101390036 Mar 2009 CN
101430624 May 2009 CN
101526880 Sep 2009 CN
100583019 Jan 2010 CN
101626522 Jan 2010 CN
102197377 Sep 2011 CN
2284677 Feb 2011 EP
3151652 Jun 2009 JP
1020100054275 May 2010 KR
1020110076292 Jul 2011 KR
9938149 Jul 1999 WO
2006020305 Feb 2006 WO
2011049513 Apr 2011 WO
2011082477 Jul 2011 WO
Non-Patent Literature Citations (45)
Entry
“Pointer Ballistics for Windows XP”, Retrieved from <<http://web.archive.org/web/20110522061105/http://msdn.microsoft.com/en-us/windows/hardware/gg463319.aspx>>, Oct. 31, 2002, 4 Pages.
“Windows Mouse Things”, Retrieved from <<http://donewmouseaccel.blogspot.in/2009/06/out-of-sync-and-upside-down-windows.html>>, Jun. 14, 2009, 7 Pages.
“YHTK—Feature Rich Universal Touchscreen Controller”, Retrieved from <<http://www.flightsim.com/vbfs/showthread.php?225255-YHTK-feature-rich-universal-touchscreen-controller>>, Jan. 13, 2011, 2 Pages.
“Supplementary Search Report Issued in European Patent Application No. 12840912.5”, dated Jul. 14, 2015, 11 Pages.
“Supplementary Search Report Issued in European Patent Application No. 12842912.3”, dated Jun. 18, 2015, 6 Pages.
“Supplementary Search Report Issued in European Patent Application No. 12853539.0”, dated Mar. 27, 2015, 6 Pages.
“Final Office Action Issued in U.S. Appl. No. 13/277,220”, dated Jun. 25, 2014, 24 Pages.
“Non Final Office Action Issued in U.S. Appl. No. 13/277,220”, dated Feb. 9, 2015, 23 Pages.
“Non Final Office Action Issued in U.S. Appl. No. 13/277,220”, dated Feb. 5, 2014, 24 Pages.
“Final Office Action Issued in U.S. Appl. No. 13/277,222”, dated Nov. 29, 2013, 17 Pages.
“Final Office Action Issued in U.S. Appl. No. 13/277,222”, dated Dec. 29, 2014, 25 Pages.
“Non Final Office Action Issued in U.S. Appl. No. 13/277,222”, dated Aug. 5, 2014, 23 Pages.
“Non Final Office Action Issued in U.S. Appl. No. 13/277,222”, dated Jul. 23, 2013, 18 Pages.
“Notice of Allowance Issued in U.S. Appl. No. 13/277,222”, dated Jun. 30, 2015, 7 Pages.
“Non Final Office Action Issued in U.S. Appl. No. 13/280,346”, dated Feb. 19, 2014, 20 Pages.
“Notice of Allowance Issued in U.S. Appl. No. 13/280,346”, dated Jul. 7, 2014, 10 Pages.
“Notice of Allowance Issued in U.S. Appl. No. 13/280,346”, dated Nov. 13, 2014, 7 Pages.
“Final Office Action Issued in U.S. Appl. No. 13/306,989”, dated Nov. 19, 2015, 13 Pages.
“Final Office Action Issued in U.S. Appl. No. 13/306,989”, dated Sep. 2, 2014, 13 Pages.
“Non Final Office Action Issued in U.S. Appl. No. 13/306,989”, dated Feb. 18, 2015, 12 Pages.
“Non Final Office Action Issued in U.S. Appl. No. 13/306,989”, dated Dec. 13, 2013, 13 Pages.
“Notice of Allowance Issued in U.S. Appl. No. 13/306,989”, dated Mar. 11, 2016, 5 Pages.
“First Office Action and Search Report Issued in Chinese Patent Application No. 201210399507.X”, dated Jan. 5, 2015, 14 Pages.
“Notice of Allowance Issued in Chinese Patent Application No. 201210399507.X”, dated Jun. 23, 2016, 4 Pages.
“Second Office Action Issued in Chinese Patent Application No. 201210399507.X”, dated Aug. 17, 2015, 6 Pages.
“Third Office Action Issued in Chinese Patent Application No. 201210399507.X”, dated Feb. 26, 2016, 6 Pages.
“First Office Action and Search Report Issued in Chinese Patent Application No. 201210399628.4”, dated Dec. 3, 2014, 12 Pages.
“Notice of Allowance Issued in Chinese Patent Application No. 201210399628.4”, dated Jul. 30, 2015, 3 Pages.
“First Office Action and Search Report Issued in Chinese Patent Application No. 201210411852.0”, dated Dec. 3, 2014, 15 Pages.
“First Office Action and Search Report Issued in Chinese Patent Application No. 201210501550.2”, dated Feb. 2, 2015, 14 Pages.
“Notice of Allowance Issued in Chinese Patent Application No. 201210501550.2”, dated Apr. 6, 2016, 4 Pages.
“Second Office Action Issued in Chinese Patent Application No. 201210501550.2”, dated Oct. 19, 2015, 10 Pages.
Benko, et al., “Pointer Warping in Heterogeneous Multi-Monitor Environments”, In Proceedings of Graphics Interface Conference, May 28, 2007, pp. 111-117.
Fragiacomo, et al., “Novel Designs for Application Specific MEMS Pressure Sensors”, In Journal-Sensors, vol. 10, Issue 11, Oct. 28, 2010, pp. 9541-9563.
Geiger, Gunter, “Using the Touch Screen as a Controller for Portable Computer Music Instruments”, In Proceedings of the Conference on New Interfaces for Musical Expression, Jun. 4, 2006, pp. 61-64.
Hutterer, et al., “Windowing System Support for Single Display Groupware”, In Proceedings of Computer Supported Cooperative work, Nov. 4, 2006, 2 Pages.
McCallum, et al., “ARC-Pad: Absolute+Relative Cursor Positioning for Large Displays with a Mobile Touchscreen”, In Proceedings of the 22nd Annual ACM symposium on User interface software and technology, Oct. 4, 2009, pp. 153-156.
Moscovich, et al., “Multi-Finger Cursor Techniques”, In Proceedings of Graphics Interface, Jun. 7, 2006, 7 Pages.
“International Preliminary Report on Patentability Issued in PCT Application No. PCT/US2012/061225”, dated Apr. 22, 2014, 4 Pages.
“International Search Report & Written Opinion Issued in PCT Application No. PCT/US2012/061225”, dated Feb. 7, 2013, 16 Pages.
“International Preliminary Report on Patentability Issued in PCT Application No. PCT/US2012/061742”, dated Apr. 29, 2014, 5 Pages.
“International Search Report & Written Opinion Issued in PCT Application No. PCT/US2012/061742”, dated Feb. 20, 2013, 9 Pages.
“International Preliminary Report on Patentability Issued in PCT Application No. PCT/US2012/066564”, dated Jun. 3, 2014, 6 Pages.
“International Search Report & Written Opinion Issued in PCT Application No. PCT/US2012/066564”, dated Feb. 15, 2013, 9 Pages.
Wu, et al., “Visual Panel: From an Ordinary Paper to a Wireless and Mobile Input Device”, In Technical Report MSR-TR-2000-112, Oct. 1, 2000, 14 Pages.
Related Publications (1)
Number Date Country
20170003758 A1 Jan 2017 US
Continuations (1)
Number Date Country
Parent 13306989 Nov 2011 US
Child 15203824 US