+* Tue Jun 04 2013 Shibata Makoto <shibata@mac.tec.toyota.co.jp> accepted/2.0alpha-wayland/20130603.172535@a56403f
+- 0.5.04 release.
+- Work around - adjust a calibration position of the touch panel.
+- The change of the package test program with the interface change of ico-uxf-weston-plugin.
+- Appoint that more than ico-uxf-weston-plugin-0.5.04 are necessary for spec file.
+
* Fri May 24 2013 Shibata Makoto <shibata@mac.tec.toyota.co.jp> accepted/2.0alpha-wayland/20130520.093314@de73166
- 0.5.03 release
- fixed Because there is a problem same as a bug appointed in TIVI-974([WLD]Failed to execute Ico-uxf-weston-plugin test script with error "No testlog directory")
Create testlog directory in an examination script.
- - Appoint that more than ico-uxf-weston-plugin-0.5.03 are necessary for spec file.
+- Appoint that more than ico-uxf-weston-plugin-0.5.03 are necessary for spec file.
* Wed May 22 2013 Shibata Makoto <shibata@mac.tec.toyota.co.jp> accepted/2.0alpha-wayland/20130520.093314@6b69154
- 0.5.02 release
- Fix for TIVI-831 - [WLD] Touch event always acted on previous location
* Wed May 15 2013 Nakamura Hayato <hayato.nakamura@mail.toyota-td.jp> accepted/2.0alpha-wayland/20130426.191411@68abf14
- - Bug Fix.
- - I68abf147:Correctly use autoconf to detect CFLAGS/LIBS
+- Bug Fix.
+- I68abf147:Correctly use autoconf to detect CFLAGS/LIBS
* -------------------------------------------------------------------
Fri Apr 26 19:12:45 UTC 2013 - tracy.graydon@intel.com
* Fri Apr 26 2013 Shibata Makoto <shibata@mac.tec.toyota.co.jp> de524fc
- Import initial.
-
Name: ico-uxf-device-input-controller
Summary: Device Input Controller
-Version: 0.5.03
+Version: 0.5.04
Release: 1.1
Group: System/GUI
License: Apache License, Version 2.0
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(glib-2.0)
-BuildRequires: ico-uxf-weston-plugin-devel >= 0.5.03
+BuildRequires: ico-uxf-weston-plugin-devel >= 0.5.04
Requires: weston >= 1.0
-Requires: ico-uxf-weston-plugin >= 0.5.03
+Requires: ico-uxf-weston-plugin >= 0.5.04
%description
Device Input Controller for ico-uxf-weston-plugin(Multi Input Manager)
surfaceid = search_surface(display, args[0]);
if (surfaceid >= 0) {
print_log("HOMESCREEN: animation(%s,%08x,%s)", args[0], surfaceid, args[1]);
- ico_window_mgr_set_animation(display->ico_window_mgr, surfaceid, args[1]);
+ ico_window_mgr_set_animation(display->ico_window_mgr, surfaceid,
+ ICO_WINDOW_MGR_ANIMATION_CHANGE_VISIBLE, args[1]);
}
else {
print_log("HOMESCREEN: Unknown surface(%s) at animation command", args[0]);
#include "ico_ictl-touch_egalax.h"
/* Number of times to repeat a touch about each point */
-#define CALIBCONF_READ_NUM (5)
+#define CALIBCONF_READ_NUM (5)
+#define XY_COORDNATE_DELTA (50)
+
+/* Macro for adjust coordinate */
+#define delta_add(x) \
+ (x) > 256 ? (x) + XY_COORDNATE_DELTA : ((x) > XY_COORDNATE_DELTA ? (x) - XY_COORDNATE_DELTA : 0);
static void print_usage(const char *pName);
static char *find_event_device(void);
}
sort_data(bufX, 0, CALIBCONF_READ_NUM - 1);
sort_data(bufY, 0, CALIBCONF_READ_NUM - 1);
- mPosX[0] = bufX[CALIBCONF_READ_NUM / 2];
- mPosY[0] = bufY[CALIBCONF_READ_NUM / 2];
+ mPosX[0] = delta_add(bufX[CALIBCONF_READ_NUM / 2]);
+ mPosY[0] = delta_add(bufY[CALIBCONF_READ_NUM / 2]);
CALIBRATION_PRINT("+------------------------------------------------+\n");
CALIBRATION_PRINT("| Touch the Top-Right corner of the screen %d times\n",
}
sort_data(bufX, 0, CALIBCONF_READ_NUM - 1);
sort_data(bufY, 0, CALIBCONF_READ_NUM - 1);
- mPosX[1] = bufX[CALIBCONF_READ_NUM / 2];
- mPosY[1] = bufY[CALIBCONF_READ_NUM / 2];
+ mPosX[1] = delta_add(bufX[CALIBCONF_READ_NUM / 2]);
+ mPosY[1] = delta_add(bufY[CALIBCONF_READ_NUM / 2]);
CALIBRATION_PRINT("+------------------------------------------------+\n");
CALIBRATION_PRINT("| Touch the Bottom-Left corner of the screen %d times\n",
}
sort_data(bufX, 0, CALIBCONF_READ_NUM - 1);
sort_data(bufY, 0, CALIBCONF_READ_NUM - 1);
- mPosX[2] = bufX[CALIBCONF_READ_NUM / 2];
- mPosY[2] = bufY[CALIBCONF_READ_NUM / 2];
+ mPosX[2] = delta_add(bufX[CALIBCONF_READ_NUM / 2]);
+ mPosY[2] = delta_add(bufY[CALIBCONF_READ_NUM / 2]);
CALIBRATION_PRINT("+------------------------------------------------+\n");
CALIBRATION_PRINT("| Touch the Bottom-Right corner of the screen %d times\n",
}
sort_data(bufX, 0, CALIBCONF_READ_NUM - 1);
sort_data(bufY, 0, CALIBCONF_READ_NUM - 1);
- mPosX[3] = bufX[CALIBCONF_READ_NUM / 2];
- mPosY[3] = bufY[CALIBCONF_READ_NUM / 2];
+ mPosX[3] = delta_add(bufX[CALIBCONF_READ_NUM / 2]);
+ mPosY[3] = delta_add(bufY[CALIBCONF_READ_NUM / 2]);
}
/*--------------------------------------------------------------------------*/