/* * Emulator Control Server - Sensor Device Handler * * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Contact: * Chulho Song * Jinhyung Choi * SeokYeon Hwang * Sangho Park * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Contributors: * - S-Core Co., Ltd * */ #ifndef __ECS_SENSOR_H__ #define __ECS_SENSOR_H__ /* skin rotation request */ int accel_min_max(double value); #if defined(CONFIG_QT) void req_set_sensor_accel_angle(int angle); #elif defined(CONFIG_JAVA_UI) void req_set_sensor_accel(int x, int y, int z); #endif void ecs_sensor_set_injector_data(const char *data); #endif /* __ECS_SENSOR_H__ */