Most people can tell if you’re angry based on the way you’re acting. Professor Jeffrey Jenkins can tell if you’re angry by the way you move a computer mouse.

The BYU information systems expert says people experiencing anger (and other negative emotions—frustration, confusion, sadness) become less precise in their mouse movements and move the cursor at different speeds.

Thanks to advances in modern technology, Jenkins can now gather and process enough data points from your cursor movement to measure those deviations and indicate your emotional state.

“Using this technology, websites will no longer be dumb,” he said. “Websites can go beyond just presenting information, but they can sense you. They can understand not just what you’re providing, but what you’re feeling.”

According to his research, when users are upset or confused, the mouse no longer follows a straight or gently curving path. Instead, movements become jagged and sudden. Additionally, someone exhibiting negative emotions moves a mouse slower.

“It’s counterintuitive; people might think, ‘When I’m frustrated, I start moving the mouse faster,’’ Jenkins said. “Well, no, you actually start moving slower.”

Jenkins believes the greatest application of his research (and resulting technology that measures mouse movements) is that web developers will be able to adapt or fix sore points in websites that bring out negative emotions.

In other words, now the folks running the online ticket website that drives you bonkers will know exactly when you throw up your hands and scream.

“Traditionally it has been very difficult to pinpoint when a user becomes frustrated, leading them to not come back to a site,” Jenkins said. “Being able to sense a negative emotional response, we can adjust the website experience to eliminate stress or to offer help.”

Jenkins’ technology has been patented and spun off to a local startup company that holds the license. Now he’s in the process of refining it, with details of his latest research appearing in top information systems academic journal MIS Quarterly.

Jenkins said the concept can also be applied to mobile devices, where swipes and taps replace mouse movement. Although he is still in the early stages of looking at mobile devices, he is encouraged by the massive amounts of data phones and tablets are providing.