Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 2.19 KB

TouchCurveInputRequest.md

File metadata and controls

36 lines (27 loc) · 2.19 KB

TouchCurveInputRequest

Properties

Name Type Description Notes
start List[List[float]] Array of per-finger [x,y] touch positions, up to 10 depending on model.
end List[List[float]] Array of per-finger [x,y] touch positions, up to 10 depending on model.
bezier_points List[List[List[float]]] Per-finger intermediate touch positions. [optional]
start_buttons List[str] Buttons held during this curve. VM button names: finger, homeButton, holdButton (Power/Hold), volumeUp, volumeDown, backButton, overviewButton. Also accepts single ASCII characters and keyboard key names (e.g. enter, home, power). Use finger:1 for the fingerprint sensor.
end_buttons List[str] Buttons left held after this curve. Omit to leave unchanged; use an empty array to release. VM button names: finger, homeButton, holdButton (Power/Hold), volumeUp, volumeDown, backButton, overviewButton. Also accepts single ASCII characters and keyboard key names (e.g. enter, home, power). Use finger:1 for the fingerprint sensor. [optional]
normalized bool Use normalized 0-10000 coordinates. [optional]
wait float Duration to wait before this input is executed, in milliseconds. [optional]
duration float Duration to execute this curve over, in milliseconds.

Example

from corellium.models.touch_curve_input_request import TouchCurveInputRequest

# TODO update the JSON string below
json = "{}"
# create an instance of TouchCurveInputRequest from a JSON string
touch_curve_input_request_instance = TouchCurveInputRequest.from_json(json)
# print the JSON string representation of the object
print(TouchCurveInputRequest.to_json())

# convert the object into a dict
touch_curve_input_request_dict = touch_curve_input_request_instance.to_dict()
# create an instance of TouchCurveInputRequest from a dict
touch_curve_input_request_from_dict = TouchCurveInputRequest.from_dict(touch_curve_input_request_dict)

[Back to Model list] [Back to API list] [Back to README]