/* configure keys, rotors and sliders. 
Example configuration for touch keys, rotors and sliders. */
touch_ret_t touch_sensors_config(void)
/* configure keys, rotors and sliders. 
Example configuration for touch keys, rotors and sliders. */
touch_ret_t touch_sensors_config(void)
{
  touch_ret_t touch_ret = TOUCH_SUCCESS;
  sensor_id_t sensor_id;
  touch_ret =
    touch_qt_sensor_config (SENSOR_TYPE_KEY, (channel_t) 0u,
			    (channel_t) 0u, NO_AKS_GROUP, 15u, HYST_6_25,
			    RES_1_BIT, &sensor_id);
  if (touch_ret != TOUCH_SUCCESS)
    {
      while (1);
    }  
  touch_ret =
    touch_qt_sensor_config (SENSOR_TYPE_SLIDER,
			    (channel_t) 1u, (channel_t) 3u, NO_AKS_GROUP, 12u,
			    (hysteresis_t) HYST_6_25, RES_8_BIT, &sensor_id);
  if (touch_ret != TOUCH_SUCCESS)
    {
      while (1);
    }
  return (touch_ret);
}