mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 10:18:35 -07:00
Update extra ir remotes to new style
This commit is contained in:
@@ -18,52 +18,58 @@ void infrared_scene_universal_digital_sign_on_enter(void* context) {
|
||||
i,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
19,
|
||||
6,
|
||||
24,
|
||||
&I_power_19x20,
|
||||
&I_power_hover_19x20,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
button_panel_add_icon(button_panel, 4, 46, &I_power_text_24x5);
|
||||
infrared_brute_force_add_record(brute_force, i++, "POWER");
|
||||
|
||||
button_panel_add_item(
|
||||
button_panel,
|
||||
i,
|
||||
1,
|
||||
0,
|
||||
36,
|
||||
19,
|
||||
&I_Input_25x27,
|
||||
&I_Input_hvr_25x27,
|
||||
38,
|
||||
24,
|
||||
&I_input_19x20,
|
||||
&I_input_hover_19x20,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
button_panel_add_icon(button_panel, 36, 46, &I_input_text_24x5);
|
||||
infrared_brute_force_add_record(brute_force, i++, "SOURCE");
|
||||
|
||||
button_panel_add_item(
|
||||
button_panel,
|
||||
i,
|
||||
0,
|
||||
1,
|
||||
3,
|
||||
64,
|
||||
&I_Play_25x27,
|
||||
&I_Play_hvr_25x27,
|
||||
6,
|
||||
58,
|
||||
&I_play_19x20,
|
||||
&I_play_hover_19x20,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
button_panel_add_icon(button_panel, 6, 80, &I_play_text_19x5);
|
||||
infrared_brute_force_add_record(brute_force, i++, "PLAY");
|
||||
|
||||
button_panel_add_item(
|
||||
button_panel,
|
||||
i,
|
||||
1,
|
||||
1,
|
||||
36,
|
||||
64,
|
||||
&I_Stop_25x27,
|
||||
&I_Stop_hvr_25x27,
|
||||
38,
|
||||
58,
|
||||
&I_stop_19x20,
|
||||
&I_stop_hover_19x20,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
button_panel_add_icon(button_panel, 38, 80, &I_stop_text_19x5);
|
||||
infrared_brute_force_add_record(brute_force, i++, "STOP");
|
||||
|
||||
button_panel_add_label(button_panel, 6, 11, FontPrimary, "Digital Sign");
|
||||
button_panel_add_label(button_panel, 17, 60, FontSecondary, "Control");
|
||||
|
||||
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
|
||||
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);
|
||||
|
||||
@@ -18,52 +18,58 @@ void infrared_scene_universal_led_on_enter(void* context) {
|
||||
i,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
19,
|
||||
6,
|
||||
24,
|
||||
&I_power_19x20,
|
||||
&I_power_hover_19x20,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
button_panel_add_icon(button_panel, 4, 46, &I_power_text_24x5);
|
||||
infrared_brute_force_add_record(brute_force, i++, "POWER");
|
||||
|
||||
button_panel_add_item(
|
||||
button_panel,
|
||||
i,
|
||||
1,
|
||||
0,
|
||||
36,
|
||||
19,
|
||||
&I_Flash_25x27,
|
||||
&I_Flash_hvr_25x27,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
infrared_brute_force_add_record(brute_force, i++, "FLASH");
|
||||
button_panel_add_item(
|
||||
button_panel,
|
||||
i,
|
||||
0,
|
||||
1,
|
||||
3,
|
||||
64,
|
||||
37,
|
||||
21,
|
||||
&I_volup_24x21,
|
||||
&I_volup_hover_24x21,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
infrared_brute_force_add_record(brute_force, i++, "BRIGHTNESS+");
|
||||
|
||||
button_panel_add_item(
|
||||
button_panel,
|
||||
i,
|
||||
1,
|
||||
1,
|
||||
36,
|
||||
64,
|
||||
37,
|
||||
55,
|
||||
&I_voldown_24x21,
|
||||
&I_voldown_hover_24x21,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
infrared_brute_force_add_record(brute_force, i++, "BRIGHTNESS-");
|
||||
|
||||
button_panel_add_icon(button_panel, 34, 34, &I_bright_text_30x30);
|
||||
|
||||
button_panel_add_item(
|
||||
button_panel,
|
||||
i,
|
||||
0,
|
||||
1,
|
||||
6,
|
||||
53,
|
||||
&I_flash_19x20,
|
||||
&I_flash_hover_19x20,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
button_panel_add_icon(button_panel, 6, 75, &I_flash_text_21x5);
|
||||
infrared_brute_force_add_record(brute_force, i++, "FLASH");
|
||||
|
||||
button_panel_add_label(button_panel, 5, 11, FontPrimary, "LED Remote");
|
||||
button_panel_add_label(button_panel, 13, 60, FontSecondary, "Brightness");
|
||||
|
||||
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
|
||||
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);
|
||||
|
||||
@@ -19,52 +19,58 @@ void infrared_scene_universal_monitor_on_enter(void* context) {
|
||||
i,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
6,
|
||||
24,
|
||||
&I_power_19x20,
|
||||
&I_power_hover_19x20,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
button_panel_add_icon(button_panel, 4, 46, &I_power_text_24x5);
|
||||
infrared_brute_force_add_record(brute_force, i++, "POWER");
|
||||
|
||||
button_panel_add_item(
|
||||
button_panel,
|
||||
i,
|
||||
1,
|
||||
0,
|
||||
36,
|
||||
38,
|
||||
24,
|
||||
&I_Input_25x27,
|
||||
&I_Input_hvr_25x27,
|
||||
&I_input_19x20,
|
||||
&I_input_hover_19x20,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
button_panel_add_icon(button_panel, 36, 46, &I_input_text_24x5);
|
||||
infrared_brute_force_add_record(brute_force, i++, "SOURCE");
|
||||
|
||||
button_panel_add_item(
|
||||
button_panel,
|
||||
i,
|
||||
0,
|
||||
1,
|
||||
3,
|
||||
66,
|
||||
6,
|
||||
58,
|
||||
&I_mode_19x20,
|
||||
&I_mode_hover_19x20,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
button_panel_add_icon(button_panel, 6, 80, &I_menu_text_20x5);
|
||||
infrared_brute_force_add_record(brute_force, i++, "MENU");
|
||||
|
||||
button_panel_add_item(
|
||||
button_panel,
|
||||
i,
|
||||
1,
|
||||
1,
|
||||
36,
|
||||
66,
|
||||
&I_Exit_25x27,
|
||||
&I_Exit_hvr_25x27,
|
||||
38,
|
||||
58,
|
||||
&I_exit_19x20,
|
||||
&I_exit_hover_19x20,
|
||||
infrared_scene_universal_common_item_callback,
|
||||
context);
|
||||
button_panel_add_icon(button_panel, 39, 80, &I_exit_text_18x5);
|
||||
infrared_brute_force_add_record(brute_force, i++, "EXIT");
|
||||
|
||||
button_panel_add_label(button_panel, 11, 11, FontPrimary, "Monitor");
|
||||
button_panel_add_label(button_panel, 19, 60, FontSecondary, "Menu");
|
||||
|
||||
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
|
||||
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);
|
||||
|
||||
Reference in New Issue
Block a user