From b19f0a16d1483a55a14f397d15e7921e72d98e7e Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Mon, 24 Apr 2023 17:15:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=B8=8B=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E6=96=87=E5=AD=97=E5=92=8C=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/filebrowser.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/source/arm11/filebrowser.c b/source/arm11/filebrowser.c index fae8f0a..317a986 100644 --- a/source/arm11/filebrowser.c +++ b/source/arm11/filebrowser.c @@ -473,12 +473,12 @@ static inline void key_tips( key_remix_t *p, atp_itemcfg_t *cfg ) else if( p->remix_type == REMIX_TYPE_REMAP ) { cfg->extra_text = "键位映射"; - cfg->extra_text_color = ATP_COLOR_YELLOW; + cfg->extra_text_color = ATP_COLOR_GREEN; } else if( p->remix_type == REMIX_TYPE_HOLD ) { cfg->extra_text = "自动蓄力"; - cfg->extra_text_color = ATP_COLOR_MAGENTA; + cfg->extra_text_color = ATP_COLOR_GREEN; } } @@ -523,10 +523,15 @@ static atp_error_t select_kcf( atp_callerdata_t p, atp_counter_t index, atp_item if( key_val[i] == kcfg->device_keys ) { cfg->extra_text = key_name[i]; - cfg->extra_text_color = ATP_COLOR_BLUE; + cfg->extra_text_color = ATP_COLOR_GREEN; } } } + else + { + cfg->extra_text = "未设置"; + cfg->extra_text_color = ATP_COLOR_LIGHT; + } } else if( index == KRFIELD_GAME ) { @@ -534,7 +539,12 @@ static atp_error_t select_kcf( atp_callerdata_t p, atp_counter_t index, atp_item if( kcfg->game_keys == 0 ) { cfg->extra_text = "未设置"; - cfg->extra_text_color = ATP_COLOR_RED; + cfg->extra_text_color = ATP_COLOR_LIGHT; + } + else + { + cfg->extra_text = "已设置"; + cfg->extra_text_color = ATP_COLOR_GREEN; } } cfg->value = index;