Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/flipperdevices/flipperzero-protobuf.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gui.proto')
-rw-r--r--gui.proto17
1 files changed, 9 insertions, 8 deletions
diff --git a/gui.proto b/gui.proto
index af434c9..dbd5144 100644
--- a/gui.proto
+++ b/gui.proto
@@ -13,18 +13,18 @@ enum InputKey {
};
enum InputType {
- PRESS = 0; /**< Press event, emitted after debounce */
- RELEASE = 1; /**< Release event, emitted after debounce */
+ PRESS = 0; /**< Press event, emitted after de-bounce */
+ RELEASE = 1; /**< Release event, emitted after de-bounce */
SHORT = 2; /**< Short event, emitted after InputTypeRelease done withing INPUT_LONG_PRESS interval */
- LONG = 3; /**< Long event, emmited after INPUT_LONG_PRESS interval, asynchronouse to InputTypeRelease */
- REPEAT = 4; /**< Repeat event, emmited with INPUT_REPEATE_PRESS period after InputTypeLong event */
+ LONG = 3; /**< Long event, emitted after INPUT_LONG_PRESS interval, asynchronous to InputTypeRelease */
+ REPEAT = 4; /**< Repeat event, emitted with INPUT_REPEATE_PRESS period after InputTypeLong event */
}
enum ScreenOrientation {
HORIZONTAL = 0; /**< Horizontal */
- HORIZONTAL_FLIP = 1; /**< Horizontal flipped (180)*/
- VERTICAL = 2; /**< Vertical (90)*/
- VERTICAL_FLIP = 3; /**< Vertical flipped */
+ HORIZONTAL_FLIP = 1; /**< Horizontal flipped (180) */
+ VERTICAL = 2; /**< Vertical (90) */
+ VERTICAL_FLIP = 3; /**< Vertical flipped (270) */
}
message ScreenFrame {
@@ -44,7 +44,8 @@ message SendInputEventRequest {
}
message StartVirtualDisplayRequest {
- ScreenFrame first_frame = 1; // optional
+ ScreenFrame first_frame = 1; /**< Optional: screen frame to show */
+ bool send_input = 2; /**< Optional: send flipper input */
}
message StopVirtualDisplayRequest {