summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichal Skorupinski <m.skorupinsk@samsung.com>2018-09-20 12:59:45 +0200
committerKrzysztof Wieclaw <k.wieclaw@samsung.com>2018-10-04 15:14:16 +0200
commit7e4bd4b5b7293fcf2fb93211720786ffa4e40c95 (patch)
tree98b4720917a3a88e33f21cf012d2fdcb483898be /inc
parente7ef745002f73f7e3f79ccf11c6d97e996320830 (diff)
downloadgear-racing-controller-7e4bd4b5b7293fcf2fb93211720786ffa4e40c95.tar.gz
gear-racing-controller-7e4bd4b5b7293fcf2fb93211720786ffa4e40c95.tar.bz2
gear-racing-controller-7e4bd4b5b7293fcf2fb93211720786ffa4e40c95.zip
Bezel configuration prepared
Change-Id: I9c33e7f176d9a76ccd2cdf4731891f7ca94fc9b0 Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
Diffstat (limited to 'inc')
-rw-r--r--inc/config.h23
-rw-r--r--inc/model/model_device_to_connection.h2
-rw-r--r--inc/model/model_hw.h2
3 files changed, 27 insertions, 0 deletions
diff --git a/inc/config.h b/inc/config.h
new file mode 100644
index 0000000..254021c
--- /dev/null
+++ b/inc/config.h
@@ -0,0 +1,23 @@
+/*
+* Copyright (c) 2018 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Flora License, Version 1.1 (the License);
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://floralicense.org/license/
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an AS IS BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+#ifndef CONFIG_H_
+#define CONFIG_H_
+
+void config_set_sensor_steering_bezel_velocity();
+void config_set_bezel_steering_sensor_velocity();
+
+#endif /* CONFIG_H_ */
diff --git a/inc/model/model_device_to_connection.h b/inc/model/model_device_to_connection.h
index 28c5515..1a18898 100644
--- a/inc/model/model_device_to_connection.h
+++ b/inc/model/model_device_to_connection.h
@@ -31,4 +31,6 @@ void model_device_to_connection_axis_y(float value);
void model_device_to_connection_bezel(float value);
void model_device_to_connection_buttons(float value);
+void model_device_to_connection_set_control_roles(e_device axis_x, e_device axis_y, e_device bezel, e_device buttons);
+
#endif /* MODEL_DEVICE_TO_CONNECTION_H_ */
diff --git a/inc/model/model_hw.h b/inc/model/model_hw.h
index dfc9b0b..eecc204 100644
--- a/inc/model/model_hw.h
+++ b/inc/model/model_hw.h
@@ -32,4 +32,6 @@ void model_hw_unsubscirbe_event(void);
void model_hw_subscribe_event(t_model_hw_update_cb model_update_cb);
void model_hw_deactivate_rotatry(bool deactivate);
+void model_hw_set_bezel_params(float step, float dead_zone, bool use_blocker, int blocker_count, bool set_to_zero_when_stop);
+
#endif /* MODEL_HW_H_ */