Skip to content

Commit 4f104c4

Browse files
f4mrfauxclaude
andcommitted
fix: Remove obsolete input_stylus_hover_moves_pointer references
- Clean up menu settings for removed input_stylus_hover_moves_pointer - Remove sublabel references in menu_cbs_sublabel.c - Fixes build error after simplifying S-Pen to semantic pointer indices - Ensures clean compilation of semantic S-Pen implementation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent d8b3671 commit 4f104c4

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

menu/cbs/menu_cbs_sublabel.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,6 @@ DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_touch_vmouse_gesture, MENU_
573573
#endif
574574
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_stylus_enable, MENU_ENUM_SUBLABEL_INPUT_STYLUS_ENABLE)
575575
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_stylus_require_contact_for_click, MENU_ENUM_SUBLABEL_INPUT_STYLUS_REQUIRE_CONTACT_FOR_CLICK)
576-
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_stylus_hover_moves_pointer, MENU_ENUM_SUBLABEL_INPUT_STYLUS_HOVER_MOVES_POINTER)
577576
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_button_axis_threshold, MENU_ENUM_SUBLABEL_INPUT_BUTTON_AXIS_THRESHOLD)
578577
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_analog_deadzone, MENU_ENUM_SUBLABEL_INPUT_ANALOG_DEADZONE)
579578
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_analog_sensitivity, MENU_ENUM_SUBLABEL_INPUT_ANALOG_SENSITIVITY)
@@ -4797,9 +4796,6 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
47974796
case MENU_ENUM_LABEL_INPUT_STYLUS_REQUIRE_CONTACT_FOR_CLICK:
47984797
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_stylus_require_contact_for_click);
47994798
break;
4800-
case MENU_ENUM_LABEL_INPUT_STYLUS_HOVER_MOVES_POINTER:
4801-
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_stylus_hover_moves_pointer);
4802-
break;
48034799
case MENU_ENUM_LABEL_AUDIO_SYNC:
48044800
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_sync);
48054801
break;

menu/menu_setting.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15760,21 +15760,6 @@ static bool setting_append_list(
1576015760
SD_FLAG_NONE
1576115761
);
1576215762

15763-
CONFIG_BOOL(
15764-
list, list_info,
15765-
&settings->bools.input_stylus_hover_moves_pointer,
15766-
MENU_ENUM_LABEL_INPUT_STYLUS_HOVER_MOVES_POINTER,
15767-
MENU_ENUM_LABEL_VALUE_INPUT_STYLUS_HOVER_MOVES_POINTER,
15768-
false,
15769-
MENU_ENUM_LABEL_VALUE_OFF,
15770-
MENU_ENUM_LABEL_VALUE_ON,
15771-
&group_info,
15772-
&subgroup_info,
15773-
parent_group,
15774-
general_write_handler,
15775-
general_read_handler,
15776-
SD_FLAG_NONE
15777-
);
1577815763

1577915764
input_driver_state_t *st = input_state_get_ptr();
1578015765
input_driver_t *current_input = st->current_driver;

0 commit comments

Comments
 (0)