📄 osd_trtbl.c
字号:
////////////////////////////////////////////////////////////////////////////////
// Genesis Microchip, Inc.
// This file was generated by Genesis Workbench. PLEASE DO NOT EDIT MANUALLY
////////////////////////////////////////////////////////////////////////////////
#include "std_inc.h"
gmt_ST_TRANSLATION_TABLE_ENTRY ROM TrTable_OutOfRangeDlg[2] =
{
{
{ Key_None, 0x00 },
{ Key_PowerKey, 0x00 },
OEK_PowerOn,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Right, 0x00 },
OEK_NextInputSource,
0x00,
0x00,
0x00,
TTEF_TableEnds
}
};
gmt_ST_TRANSLATION_TABLE_ENTRY ROM TrTable_ValidModeState[6] =
{
{
{ Key_None, 0x00 },
{ Key_PowerKey, 0x00 },
OEK_PowerOn,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Sad, 0x00 },
OEK_InternalPatterns,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Right, 0x00 },
OEK_NextInputSource,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Left, 0x00 },
OEK_Bright,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Two, 0x00 },
OEK_Two,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_One, 0x00 },
OEK_One,
0x00,
0x00,
0x00,
TTEF_TableEnds
}
};
gmt_ST_TRANSLATION_TABLE_ENTRY ROM TrTable_MLockTransitState[1] =
{
{
{ Key_One, 0x00 },
{ Key_None, 0x00 },
OEK_Menu,
0x00,
0x00,
0x00,
TTEF_TableEnds
}
};
gmt_ST_TRANSLATION_TABLE_ENTRY ROM TrTable_AudioTab[5] =
{
{
{ Key_None, 0x00 },
{ Key_PowerKey, 0x00 },
OEK_PowerOn,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Right, 0x00 },
OEK_Right,
25,
2,
0x01,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Left, 0x00 },
OEK_Left,
25,
2,
0x01,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Two, 0x00 },
OEK_Two,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_One, 0x00 },
OEK_One,
0x00,
0x00,
0x00,
TTEF_TableEnds
}
};
gmt_ST_TRANSLATION_TABLE_ENTRY ROM TrTable_InvSliders[3] =
{
{
{ Key_None, 0x00 },
{ Key_PowerKey, 0x00 },
OEK_PowerOn,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Right, 0x00 },
OEK_Right,
25,
2,
0x01,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Left, 0x00 },
OEK_Left,
25,
2,
0x01,
TTEF_TableEnds
}
};
gmt_ST_TRANSLATION_TABLE_ENTRY ROM TrTable_InvPredefinedWindowMenu[2] =
{
{
{ Key_None, 0x00 },
{ Key_Right, 0x00 },
OEK_Right,
25,
2,
0x01,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Left, 0x00 },
OEK_Left,
25,
2,
0x01,
TTEF_TableEnds
}
};
gmt_ST_TRANSLATION_TABLE_ENTRY ROM TrTable_Acm6axis[4] =
{
{
{ Key_None, 0x00 },
{ Key_Right, 0x00 },
OEK_Right,
25,
2,
0x01,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Left, 0x00 },
OEK_Left,
25,
2,
0x01,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Two, 0x00 },
OEK_Two,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_One, 0x00 },
OEK_One,
0x00,
0x00,
0x00,
TTEF_TableEnds
}
};
gmt_ST_TRANSLATION_TABLE_ENTRY ROM TrTable_AcmExit[2] =
{
{
{ Key_None, 0x00 },
{ Key_Left, 0x00 },
OEK_Left,
25,
2,
0x01,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_One, 0x00 },
OEK_One,
0x00,
0x00,
0x00,
TTEF_TableEnds
}
};
gmt_ST_TRANSLATION_TABLE_ENTRY ROM TrTable_ToolsExit[8] =
{
{
{ Key_None, 0x00 },
{ Key_PowerKey, 0x00 },
OEK_PowerOn,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Sad, 0x00 },
OEK_InternalPatterns,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Right, 0x00 },
OEK_Right,
25,
2,
0x01,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Left, 0x00 },
OEK_Left,
25,
2,
0x01,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_Two, 0x00 },
OEK_Two,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_One, 0x00 },
OEK_One,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_IR_ENTER, 0x00 },
OEK_IR_ENTER,
0x00,
0x00,
0x00,
TTEF_TableContinues
},
{
{ Key_None, 0x00 },
{ Key_InputToggle, 0x64 },
OEK_InputToggle_factorMenu,
0x00,
0x00,
0x00,
TTEF_TableEnds
}
};
////////////////////////////////////////////////////////////////////////////////
// Translation tables
////////////////////////////////////////////////////////////////////////////////
gmt_ST_TRANSLATION_TABLE_ENTRY ROM * ROM GlobalTranslTableSet[9] =
{
TrTable_OutOfRangeDlg,
TrTable_ValidModeState,
TrTable_MLockTransitState,
TrTable_AudioTab,
TrTable_InvSliders,
TrTable_InvPredefinedWindowMenu,
TrTable_Acm6axis,
TrTable_AcmExit,
TrTable_ToolsExit
};
BYTE ROM TrtblMaxEntries[9] =
{
0x02,
0x06,
0x01,
0x05,
0x03,
0x02,
0x04,
0x02,
0x08
};
WORD ROM KEYPAD_DEBOUNCE_PERIOD = 20;
BYTE ROM ADC_1_Values[14] =
{
WBK_EXTRACT_CODE_BYTE(82), Key_InputToggle,
WBK_EXTRACT_CODE_BYTE(43), Key_Left,
WBK_EXTRACT_CODE_BYTE(100), Key_One,
WBK_EXTRACT_CODE_BYTE(140), Key_PowerKey,
WBK_EXTRACT_CODE_BYTE(23), Key_Right,
WBK_EXTRACT_CODE_BYTE(216), Key_Sad,
WBK_EXTRACT_CODE_BYTE(200), Key_Two
};
WBK_KEYPAD_DEFINITION ROM Keypad_ADC_1 =
{
0x00,
ADC_1_Values,
0x07,
GetADCValue,
InitADCDriver,
0x01,
0x08
};
BYTE ROM IR_Values[12] =
{
WBK_EXTRACT_CODE_BYTE(26), Key_IR_ENTER,
WBK_EXTRACT_CODE_BYTE(25), Key_Left,
WBK_EXTRACT_CODE_BYTE(22), Key_One,
WBK_EXTRACT_CODE_BYTE(12), Key_PowerKey,
WBK_EXTRACT_CODE_BYTE(27), Key_Right,
WBK_EXTRACT_CODE_BYTE(23), Key_Two
};
WBK_KEYPAD_DEFINITION ROM Keypad_IR =
{
0x00,
IR_Values,
0x06,
GetIRValue,
InitIRDriver,
0x01,
0x00
};
WBK_KEYPAD_DEFINITION ROM* ROM WBK_Keypads[2] =
{
&Keypad_ADC_1,
&Keypad_IR
};
BYTE ROM WBK_NumberOfKeypads = WB_NUMBER_OF_INPUT_SOURCE;
BYTE ROM WBK_MultiplePortsValuesTranslation[1] =
{
0
};
BYTE ROM WBK_NumberMultiplePortsValues = WBK_NUMBER_OF_MULTIPLE_PORTS_VALUES;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -