Skip to content

Commit

Permalink
Add AppButtonPressRelease request
Browse files Browse the repository at this point in the history
  • Loading branch information
Astrrra committed Nov 13, 2024
1 parent 6c7c0d5 commit 7be5fde
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
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

0 comments on commit 7be5fde

Please sign in to comment.