# US 2014/0232657 A1 · Method and system for integrating haptic feedback into portable electronic devices

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0232657 A1
- Document ID: US20140232657A1
- Status: Published application
- Kind: A1
- Application number: 13/768,189
- Filed: 2013-02-15
- Published: 2014-08-21
- Earliest claimed: 2013-02-15
- Assignees: Facebook, Inc.
- Inventors: Walter A. Aviles; Thomas G. Anderson; William Anderson; Daryl Lee
- Web page: https://patentgrep.com/patent/US20140232657A1

## CPC

- G06F 3/016: {Input arrangements with force or tactile feedback as computer generated output to the user}
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods for creating a haptic effect script for an application and producing haptic effects in response to an event occurring in an application are described Creating the haptic script includes launching an application, launching a scripting engine, monitoring a dynamic memory footprint for the application, receiving an indication of an event occurrence in the application, and determining changes to one or more values stored within the dynamic memory footprint that indicate the event occurrence. To produce the haptic effects, during execution and running of the application the dynamic memory footprint is monitored for value changes associated with an event occurrence as defined by the haptic event script and, if it is determined an event has occurred, the haptic script is executed to product a haptic effect signal.

## Claims

### Claim 1

A method of creating a haptic effect script for an application, the method comprising:
launching, by a processing device, an application on an electronic device;
launching, by the processing device, a scripting engine;
monitoring, by the processing device, a dynamic memory footprint for the application, wherein the dynamic memory footprint is stored in a non-transitory computer readable medium operably connected to the processing device;
receiving, by the processing device, an indication of an event occurrence in the application; and
determining, by the processing device, changes to one or more values stored within the dynamic memory footprint, wherein the changes to the one or more values indicate the event occurrence.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining, by the processing device, a haptic effect to be associated with the event occurrence; and
adding, by the scripting engine, the haptic effect to a haptic event script associated with the application.

### Claim 3 (depends on 2)

The method of claim 2, further comprising associating the haptic event script with the application such that the associated haptic event script is loaded when the application is launched.

### Claim 4 (depends on 3)

The method of claim 3, further comprising, after the associating
monitoring execution of the application;
detecting occurrence of the event in the application; and
in response to detecting occurrence of the event, executing the haptic event script.

### Claim 5 (depends on 2)

The method of claim 2, wherein the haptic effect comprises a vibrotactile actuated effect.

### Claim 6 (depends on 2)

The method of claim 2, wherein the haptic effect comprises an electroresistive actuated effect.

### Claim 7 (depends on 1)

The method of claim 1, wherein monitoring the dynamic memory footprint for the application comprises recording a first listing of values within the dynamic memory footprint associated for the application at certain time intervals.

### Claim 8 (depends on 7)

The method of claim 7, wherein determining changes to the one or more values stored within the dynamic memory footprint comprises:
recording an updated listing of values within the dynamic memory footprint; and
comparing the updated listing of values with the first listing of values to determine any changes.

### Claim 9 (depends on 1)

The method of claim 1, wherein the scripting engine is a component of a haptic integration technique software application.

### Claim 10 (depends on 1)

The method of claim 1, wherein the electronic device is a portable electronic device.

### Claim 11

A method of producing haptic effects in response to an event occurring in an application, the method comprising:
launching, by a processing device, an application on a electronic device;
loading, by the processing device, a haptic event script associated with the application;
monitoring, by the processing device, a dynamic memory footprint for value changes associated with an event occurrence as defined by the haptic event script; and
if the processing device determines an event has occurred, executing, by the processing device, the haptic event script to product a haptic effect signal.

### Claim 12 (depends on 10)

The method of claim 10, further comprising transmitting, by the processing device, the haptic effect signal to one of a haptic actuator or a controller to produce haptic feedback.

### Claim 13 (depends on 12)

The method of claim 12, wherein the haptic actuator comprises a vibrotactile actuator.

### Claim 14 (depends on 12)

The method of claim 12, wherein the haptic actuator comprises an electroresistive actuator.

### Claim 15 (depends on 11)

The method of claim 11, wherein monitoring the dynamic memory footprint for value changes comprises:
determining, based upon the haptic event script, one or more event occurrence values in the dynamic memory; and
monitoring the one or more event occurrence values in the dynamic memory for any changes, wherein a change to one or more event occurrence values indicates an event occurrence in the application.

### Claim 16 (depends on 11)

The method of claim 11, wherein producing a haptic effect signal comprises:
loading, from the haptic event script, an appropriate haptic effect based upon the event occurrence;
create, based upon the loaded appropriate haptic effect, the haptic effect signal; and
transfer the haptic effect signal to one of a haptic actuator or a controller associated with at least one haptic actuator.

### Claim 17 (depends on 11)

The method of claim 11, wherein the electronic device is a portable electronic device.
