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

GUI: Add a fast-select "Zapper" mode for VarItemList #258

Open
wants to merge 25 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
use english comments
  • Loading branch information
zxkmm committed Oct 12, 2024
commit ce620438eb040acd13a95d153928efe718149806
2 changes: 1 addition & 1 deletion applications/services/gui/modules/variable_item_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ static bool zapper_menu_input_handler(InputEvent* event, void* context) {
VariableItem* item = zapper_menu->item;

if(event->type == InputTypeShort || event->type == InputTypeRepeat) {
uint8_t selected_option = 0xFF; // 初始化为无效值
uint8_t selected_option = 0xFF; // as nullptr
switch(event->key) {
case InputKeyUp:
selected_option = zapper_menu->current_page * 4 + 0;
Expand Down
Loading