From: Sung-Jin Park Date: Thu, 7 Dec 2017 06:47:31 +0000 (+0900) Subject: e_input: recover removed variables and put them into the right place (inside #ifdef... X-Git-Tag: accepted/tizen/unified/20171212.064747~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F88%2F163088%2F2;p=platform%2Fupstream%2Fenlightenment.git e_input: recover removed variables and put them into the right place (inside #ifdef macros) Change-Id: I3943fad582214a132afca68d8561539c8d24c5d0 Signed-off-by: Sung-Jin Park --- diff --git a/src/bin/e_input_evdev.c b/src/bin/e_input_evdev.c index 873453a..26bb651 100644 --- a/src/bin/e_input_evdev.c +++ b/src/bin/e_input_evdev.c @@ -43,6 +43,11 @@ _device_calibration_set(E_Input_Evdev *edev) //LCOV_EXCL_START #ifdef _F_E_INPUT_ENABLE_DEVICE_CALIBRATION_ + const char *sysname; + float cal[6]; + const char *device; + Eina_List *devices; + if ((!libinput_device_config_calibration_has_matrix(edev->device)) || (libinput_device_config_calibration_get_default_matrix(edev->device, cal) != 0)) return; @@ -53,6 +58,9 @@ _device_calibration_set(E_Input_Evdev *edev) if (eina_list_count(devices) < 1) return; #ifdef _F_E_INPUT_USE_WL_CALIBRATION_ + const char *vals; + enum libinput_config_status status; + EINA_LIST_FREE(devices, device) { vals = eeze_udev_syspath_get_property(device, "WL_CALIBRATION");