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:
-rw-r--r--Changelog4
-rw-r--r--flipper.proto8
-rw-r--r--gui.proto17
3 files changed, 17 insertions, 12 deletions
diff --git a/Changelog b/Changelog
index be5fa9c..19fa3fa 100644
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,9 @@
# Changelog
+## [0.22]
+### Added
+- StartVirtualDisplayRequest: optional send_input to request input from device
+
## [0.21]
### Added
- Application AppButtonPressRequest now supports button indices in addition to names.
diff --git a/flipper.proto b/flipper.proto
index 8463b4f..81cc8af 100644
--- a/flipper.proto
+++ b/flipper.proto
@@ -16,20 +16,20 @@ enum CommandStatus {
/**< Common Errors */
ERROR = 1; /**< Unknown error */
ERROR_DECODE = 2; /**< Command can't be decoded successfully - command_id in response may be wrong! */
- ERROR_NOT_IMPLEMENTED = 3; /**< Command succesfully decoded, but not implemented (deprecated or not yet implemented) */
+ ERROR_NOT_IMPLEMENTED = 3; /**< Command successfully decoded, but not implemented (deprecated or not yet implemented) */
ERROR_BUSY = 4; /**< Somebody took global lock, so not all commands are available */
ERROR_CONTINUOUS_COMMAND_INTERRUPTED = 14; /**< Not received has_next == 0 */
- ERROR_INVALID_PARAMETERS = 15; /**< not provided (or provided invalid) crucial parameters to perform rpc */
+ ERROR_INVALID_PARAMETERS = 15; /**< not provided (or provided invalid) crucial parameters to perform RPC */
/**< Storage Errors */
ERROR_STORAGE_NOT_READY = 5; /**< FS not ready */
- ERROR_STORAGE_EXIST = 6; /**< File/Dir alrady exist */
+ ERROR_STORAGE_EXIST = 6; /**< File/Dir already exist */
ERROR_STORAGE_NOT_EXIST = 7; /**< File/Dir does not exist */
ERROR_STORAGE_INVALID_PARAMETER = 8; /**< Invalid API parameter */
ERROR_STORAGE_DENIED = 9; /**< Access denied */
ERROR_STORAGE_INVALID_NAME = 10; /**< Invalid name/path */
ERROR_STORAGE_INTERNAL = 11; /**< Internal error */
- ERROR_STORAGE_NOT_IMPLEMENTED = 12; /**< Functon not implemented */
+ ERROR_STORAGE_NOT_IMPLEMENTED = 12; /**< Function is not implemented */
ERROR_STORAGE_ALREADY_OPEN = 13; /**< File/Dir already opened */
ERROR_STORAGE_DIR_NOT_EMPTY = 18; /**< Directory, you're going to remove is not empty */
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 {