#ifndef __CECD_KEYCODE_H_ #define __CECD_KEYCODE_H_ typedef enum{ // deck control DC_SKIP_FORWARD_OR_WIND_FORWARD = 1, DC_SKIP_BACKWARD_OR_REWIND, DC_STOP, DC_EJECT, // deck play DC_PLAY_FORWARD = 0x24, DC_PLAY_REVERSE = 0x20, DC_PLAY_STILL = 0x25, DC_SCAN_FORWARD_MIN_SPEED = 0x5, DC_SCAN_FORWARD_MEDIUM_SPEED, DC_SCAN_FORWARD_MAX_SPEED, DC_SCAN_REVERSE_MIN_SPEED = 0x9, DC_SCAN_REVERSE_MEDIUM_SPEED, DC_SCAN_REVERSE_MAX_SPEED, DC_SLOW_FORWARD_MIN_SPEED = 0x15, DC_SLOW_FORWARD_MEDIUM_SPEED, DC_SLOW_FORWARD_MAX_SPEED, DC_SLOW_REVERSE_MIN_SPEED = 0x19, DC_SLOW_REVERSE_MEDIUM_SPEED, DC_SLOW_REVERSE_MAX_SPEED }deck_control_t; // According to CEC Table 23 User Control Codes in CEC SPEC. typedef enum{ UCC_Select = 0x00, UCC_Up, UCC_Down, UCC_Left, UCC_Right, UCC_Right_Up, UCC_Right_Down, UCC_Left_Up, UCC_Left_Down, UCC_Root_Menu, UCC_Setup_Menu, UCC_Contents_Menu, UCC_Favorite_Menu, UCC_Exit, UCC_Top_Menu = 0x10, UCC_Context_Sensitive_Menu, UCC_Num_Entry_Mode = 0x1D, UCC_11, UCC_12, //~cdlin UCC_0 = 0x20, UCC_1, UCC_2, UCC_3, UCC_4, UCC_5, UCC_6, UCC_7, UCC_8, UCC_9, UCC_DOT, UCC_Enter, UCC_Clear, //07/21/2009 by cdlin for lost item UCC_Next_Favorite = 0x2F, //~cdlin UCC_Channel_Up = 0x30, UCC_Channel_Down, UCC_Previous_Channel, UCC_Sound_Select, UCC_Input_Select, UCC_Display_Information, UCC_Help, UCC_Page_Up, UCC_Page_Down, UCC_Power = 0x40, UCC_Volume_Up, UCC_Volume_Down, UCC_Mute, UCC_Play, UCC_Stop, UCC_Pause, UCC_Record, UCC_Rewind, UCC_Fast_Forward, UCC_Eject, UCC_Forward, UCC_Backward, //07/21/2009 by cdlin for lost item UCC_Stop_Record, UCC_Pause_Record, //~cdlin UCC_Angle = 0x50, UCC_Sub_Picture, //07/21/2009 by cdlin for lost items UCC_Video_On_Demand, UCC_Electro_Program_Guide, UCC_Timer_Programming, UCC_Initial_Config, UCC_Select_Broadcast_Type, UCC_Select_Sound_Presentation, //~cdlin UCC_Play_Function = 0x60, UCC_Pause_Play_Function, UCC_Record_Function, UCC_Pause_Record_Function, UCC_Stop_Function, UCC_Mute_Function, UCC_Restore_Volume_Function, UCC_Tune_Function, UCC_Select_Disk_Function, UCC_Select_AV_Input_Function, UCC_Selec_Audio_Input_Function, //07/21/2009 by cdlin for lost items UCC_Power_Toggle_Function, UCC_Power_Off_Function, UCC_Power_On_Function, //~cdlin UCC_F1 = 0x71, UCC_F2, UCC_F3, UCC_F4, UCC_F5, //07/21/2009 by cdlin for lost items UCC_Data //~cdlin }user_control_code_t; #endif