spv518_key_cmd.c
来自「TFT显示的源码,附了使用说明书 要下载的速度了」· C语言 代码 · 共 83 行
C
83 行
#ifndef DVDRELEASE
#define TCON_IRCMD_DBG
#endif
#ifndef TCON_IRCMD_DBG
#undef printf
#undef printf_nw
#define printf(f, a...) do {} while (0)
#define printf_nw(f, a...) do {} while (0)
#endif
#define IR_TCON_CODE_MAX_NUM 11
typedef void (*IRFUNC) ();
BYTE tcon_ui_state;
#define TCON_UI_FIRST_STATE 0
#define TCON_UI_SECOND_STATE 1
#define TCON_UI_THIRD_STATE 2
#define TCON_UI_FOURTH_STATE 3
void ircmd_tcon_null()
{
printf_w("\nircmd_tcon_null in");
}
void ircmd_tcon_brightness(void)
{
printf_w("\nircmd_tcon_brightness in");
}
void ircmd_tcon_contrast(void)
{
printf_w("\nircmd_tcon_contrast in");
}
void ircmd_tcon_hue(void)
{
printf_w("\nircmd_tcon_hue in");
}
void ircmd_tcon_saturation(void)
{
printf_w("\nircmd_tcon_saturation in");
}
void ircmd_tcon_shatpness(void)
{
printf_w("\nircmd_tcon_shatpness in");
}
void ircmd_tcon_shatpness1(void)
{
printf_w("\nircmd_tcon_shatpness1 in");
}
void ircmd_tcon_shatpness2(void)
{
printf_w("\nircmd_tcon_shatpness2 in");
}
void ircmd_tcon_shatpness3(void)
{
printf_w("\nircmd_tcon_shatpness3 in");
}
void ircmd_tcon_shatpness4(void)
{
printf_w("\nircmd_tcon_shatpness4 in");
}
void ircmd_tcon_shatpness5(void)
{
printf_w("\nircmd_tcon_shatpness5 in");
}
const IRFUNC irc_Tcon_func_table[IR_TCON_CODE_MAX_NUM]=
{
ircmd_tcon_brightness,
ircmd_tcon_contrast,
ircmd_tcon_hue,
ircmd_tcon_saturation,
ircmd_tcon_shatpness,
ircmd_tcon_shatpness1,
ircmd_tcon_shatpness2,
ircmd_tcon_shatpness3,
ircmd_tcon_shatpness4,
ircmd_tcon_shatpness5,
ircmd_tcon_null,
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?