LOGW ("bt_hid_host_initialize failed");
#endif
-#if ENABLE_REMOTE_INPUT
- launch_remote_input = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_LAUNCH_REMOTE_INPUT), launch_remote_input);
+ if (_TV) {
+ launch_remote_input = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_LAUNCH_REMOTE_INPUT), launch_remote_input);
- /* Create remote input */
- if (launch_remote_input) {
- LOGD("remote input start");
- remote_input_impl = new Remote_Input();
- if (remote_input_impl) {
- remote_input_impl->init(_info_manager);
- }
+ /* Create remote input */
+ if (launch_remote_input) {
+ LOGD("remote input start");
+ remote_input_impl = new Remote_Input();
+ if (remote_input_impl) {
+ remote_input_impl->init(_info_manager);
+ }
+ }
}
-#endif
#if ISF_BUILD_CANDIDATE_UI
_system_scale = elm_config_scale_get ();
int open_connection (void) {
String display;
-#ifndef ENABLE_REMOTE_INPUT
- const char *p = getenv ("DISPLAY");
- if (p) display = String (p);
-#endif
SocketAddress addr (scim_get_default_panel_socket_address (display));
if (m_socket_remoteinput2panel.is_connected ()) close_connection ();