📄 lcd_msg.h
字号:
// These are common messages.
// You can define other messages for your need, but you should confirm
// your OSD process can respond with your messages.
#define NOTIFY_NONE 0x00
#define NOTIFY_MENU_KEY 0x01
#define NOTIFY_ENTER_KEY 0x02
#define NOTIFY_RIGHT_KEY 0x03
#define NOTIFY_LEFT_KEY 0x04
#define NOTIFY_UP_KEY 0x05 // Not used
#define NOTIFY_DOWN_KEY 0x06 // Not used
#define NOTIFY_EXIT_KEY 0x07 // Not used
#define NOTIFY_LR_KEY 0x08 // Issued when no OSD on display and an user presses left and right key
#define NOTIFY_IR_NUM0 0x10
#define NOTIFY_IR_NUM1 0x11
#define NOTIFY_IR_NUM2 0x12
#define NOTIFY_IR_NUM3 0x13
#define NOTIFY_IR_NUM4 0x14
#define NOTIFY_IR_NUM5 0x15
#define NOTIFY_IR_NUM6 0x16
#define NOTIFY_IR_NUM7 0x17
#define NOTIFY_IR_NUM8 0x18
#define NOTIFY_IR_NUM9 0x19
#define NOTIFY_IR_SOURCE 0x1a
#define NOTIFY_IR_DISP 0x1b
#define NOTIFY_IR_JUMP 0x1c
#define NOTIFY_IR_CHDEC 0x1d
#define NOTIFY_IR_CHINC 0x1e
#define NOTIFY_IR_VOLINC 0x1f
#define NOTIFY_IR_VOLDEC 0x20
#define NOTIFY_IR_MENU 0x21
#define NOTIFY_IR_ENTER 0x22
#define NOTIFY_IR_MUTE 0x23
#define NOTIFY_POWERUP 0x80
#define NOTIFY_POWERDOWN 0x81
#define NOTIFY_SHOW 0x82 // MUST
#define NOTIFY_RESET_OSD 0x83 // MUST
#define NOTIFY_CLEAR_OSD 0x84 // MUST
#define NOTIFY_LOADFONT 0x85 // MUST
#define NOTIFY_SHOWLOGO 0x86 // Optional
#define NOTIFY_SOURCEID 0x87 // Optional
// Key_Trans() issues the first message for a button right after you press it.
// If you keep pressing a button down for (KEY_REPEAT_COUNT * 20ms), Key_Trans() will
// issues the same messages in the period of (KEY_REPEAT_PERIOD * 20ms).
// Not all keys need this feature. You should decide by yourself.
#define KEY_REPEAT_COUNT 15
#define KEY_REPEAT_PERIOD 1
#define KEY_TURBO_ENABLE 15
#ifdef __MESSAGE__
bit bKeyTurbo = 0;
unsigned char Key_Trans();
#else
extern bit bKeyTurbo;
extern unsigned char Key_Trans();
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -