|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
64 #ifndef _IARM_IRMGR_INTERNAL_
65 #define _IARM_IRMGR_INTERNAL_
70 #ifdef RDK_LOGGER_ENABLED
74 extern int b_rdk_logger_enabled;
76 #define LOG(...) INT_LOG(__VA_ARGS__, "")
77 #define INT_LOG(FORMAT, ...) if(b_rdk_logger_enabled) {\
78 RDK_LOG(RDK_LOG_DEBUG, "LOG.RDK.IRMGR", FORMAT , __VA_ARGS__);\
82 printf(FORMAT, __VA_ARGS__);\
87 #define LOG(...) printf(__VA_ARGS__)
92 #if defined _SKQ_KEY_MAP_1_
93 typedef void (* uinput_dispatcherScancode_t) (
int scanCode,
int keyCode,
int keyType,
int source);
95 typedef void (* uinput_dispatcher_t) (
int keyCode,
int keyType,
int source);
146 typedef enum _IRMgr_UINPUTSrc {
147 IRMGR_UINPUT_SRC_IRMGR,
148 IRMGR_UINPUT_SRC_KEYSIM,
162 int UINPUT_init_src(IRMg_UINPUT_Src_t eSrc);
171 #if defined _SKQ_KEY_MAP_1_
172 uinput_dispatcherScancode_t UINPUT_GetDispatcherScancode(
void);
int UINPUT_init(void)
uinput module init.
IARM_Result_t IRMgr_Loop()
Loop to keep the IR manager alive.
IARM_Result_t IRMgr_Stop(void)
Terminates the IR manager.
IARM_Result_t IRMgr_Start(int argc, char *argv[])
Starts the IR manager.
uinput_dispatcher_t UINPUT_GetDispatcher(void)
get the dispather that will listen for IARM IR
IARM_Result_t IRMgr_Register_uinput(uinput_dispatcher_t f)
register a uinput dispatcher.
int UINPUT_term(void)
uinput module term.