diff --git a/proto/protocol.xml b/proto/protocol.xml index 02411b8..b86186b 100644 --- a/proto/protocol.xml +++ b/proto/protocol.xml @@ -645,6 +645,12 @@ It is a protocol violation to send this request for a client of an ei_handshake.context_type other than sender. + + It is up to the EIS implementation to reset the device state when a + stop_emulating event is received. The recommendation is that the device + is set to a neutral state such that all touches, buttons, keys are logically up. + A client should send the corresponding events before stop_emulating + to avoid any ambiguity on event interpretation. @@ -1247,6 +1253,10 @@ It is a protocol violation to send this request for a client of an ei_handshake.context_type other than sender. + + A client should send a ei_button.button release event before + ei_device.stop_emulating to avoid any ambiguity on interpretation + of button events. @@ -1323,6 +1333,10 @@ It is a protocol violation to send this request for a client of an ei_handshake.context_type other than sender. + + A client should send a ei_key.key release event before + ei_device.stop_emulating to avoid any ambiguity on interpretation + of key events. @@ -1475,6 +1489,10 @@ It is a protocol violation to send a touch down in the same frame as a touch motion or touch up. + + A client should send a ei_touch.up or ei_touch.cancel event before + ei_device.stop_emulating to avoid any ambiguity on interpretation of touch + events.