Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FL-3917] Add AppButtonPressRelease request #52

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions application.options
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ PB_App.StartRequest.name type:FT_POINTER
PB_App.StartRequest.name max_length:512
PB_App.AppLoadFileRequest.path max_length:512
PB_App.AppButtonPressRequest.args max_length:512
PB_App.AppButtonPressReleaseRequest.args max_length:512
PB_App.GetErrorResponse.text type:FT_POINTER
PB_App.DataExchangeRequest.data type:FT_POINTER
5 changes: 5 additions & 0 deletions application.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ message AppButtonPressRequest {
message AppButtonReleaseRequest {
}

message AppButtonPressReleaseRequest {
string args = 1;
int32 index = 2;
}

enum AppState {
APP_CLOSED = 0;
APP_STARTED = 1;
Expand Down
1 change: 1 addition & 0 deletions flipper.proto
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ message Main {
.PB_App.AppLoadFileRequest app_load_file_request = 48;
.PB_App.AppButtonPressRequest app_button_press_request = 49;
.PB_App.AppButtonReleaseRequest app_button_release_request = 50;
.PB_App.AppButtonPressReleaseRequest app_button_press_release_request = 75;
.PB_App.GetErrorRequest app_get_error_request = 63;
.PB_App.GetErrorResponse app_get_error_response = 64;
.PB_App.DataExchangeRequest app_data_exchange_request = 65;
Expand Down
Loading