BACKGROUND

Embodiments of the invention relate to automatically correcting touchscreen errors. In particular, embodiments of the invention relate to automatically correcting touchscreen errors of a device through external or non-worn sources of information.

There are strategies and systems to detect and correct wrong typing when using a touchscreen of a device. Some strategies are based on human behavior and general interaction with the touchscreen, especially its keyboard, while other strategies are based on motion sensors (e.g., accelerometers).

These strategies are useful in detecting situational impairments by leveraging the motion sensor inside the device that is exposing the touchscreen. These strategies are based on the assumption that the relative movement of the finger and the touchscreen is the same, so that errors caused by walking vibrations and/or loss of attention may be corrected by the inner motion sensor of the device.

For example, a person is holding a smartphone with a touchscreen and walking. The motion sensor inside the smartphone measures the acceleration of the person based on the assumption that the smartphone and the person are one unique rigid body. Therefore, the inertia causing a relative delta movement of the finger on the touchscreen is proportional to the acceleration measured by the motion sensor of the smartphone.

SUMMARY

In accordance with certain embodiments, a computer-implemented method is provided for automatically correcting touchscreen errors. The computer-implemented method comprises operations. A first location input is received from a user touching a global touchscreen of a global device, where the first location input is a location relative to a display surface of the global touchscreen. It is determined that movement of the global device is different from movement of a local device. Motion information of the local device is retrieved. The first location input is corrected to a second location input based on the motion information. In response to the second location input, an operation is performed.

In accordance with other embodiments, a computer program product is provided for automatically correcting touchscreen errors. The computer program product comprises a computer readable storage medium having program code embodied therewith, the program code executable by at least one processor to perform operations. A first location input is received from a user touching a global touchscreen of a global device, where the first location input is a location relative to a display surface of the global touchscreen. It is determined that movement of the global device is different from movement of a local device. Motion information of the local device is retrieved. The first location input is corrected to a second location input based on the motion information. In response to the second location input, an operation is performed.

In accordance with yet other embodiments, a computer system is provided for automatically correcting touchscreen errors. The computer system comprises one or more processors, one or more computer-readable memories and one or more computer-readable, tangible storage devices; and program instructions, stored on at least one of the one or more computer-readable, tangible storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to perform operations. A first location input is received from a user touching a global touchscreen of a global device, where the first location input is a location relative to a display surface of the global touchscreen. It is determined that movement of the global device is different from movement of a local device. Motion information of the local device is retrieved. The first location input is corrected to a second location input based on the motion information. In response to the second location input, an operation is performed.

