Defines

mTouch_config_slider.h File Reference

Framework Configuration! Slider and Wheel Configuration Options. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MTOUCH_SLIDER0_SENSOR1   1
#define MTOUCH_SLIDER0_SENSOR2   2
#define MTOUCH_SLIDER0_SENSOR3   3
#define MTOUCH_NUMBER_SLIDER1_SENSORS   2
#define MTOUCH_SLIDER1_SENSOR0   1
#define MTOUCH_SLIDER1_SENSOR1   2
#define MTOUCH_NUMBER_SLIDER2_SENSORS   2
#define MTOUCH_SLIDER2_SENSOR0   2
#define MTOUCH_SLIDER2_SENSOR1   3
Slider and Wheel Setup (mTouch_config_slider.h)

These options will configure if there are any sliders and wheels in your application as well as how they are decoded. The framework is able to support up to 10 sliders and 8 sensors per slider. (The framework does not support 80 unique sensors - if an application actually used all 10 sliders with 8 sensors per slider, it would need to re-use some active-mode sensors multiple times.)

#define MTOUCH_NUMBER_OF_SLIDERS
 Defines the number of sliders to be implemented.
#define MTOUCH_SLIDER_STEP_SIZE
 Defines the maximum value that the latched slider output value is allowed to change based on one new reading. Similar to MTOUCH_DECIMATION_MAX_STEP.
#define MTOUCH_SLIDER_SCALING_ENABLED
 If defined, slider output values will always fall between 0 and 255, regardless of the number of sensors. If not, the maximum value will be based on the number of sensors in the slider.
#define MTOUCH_NUMBER_SLIDER0_SENSORS
 Required for each slider. Defines the number of sensors that make up slider 0.
#define MTOUCH_SLIDER0_SENSOR0
 Required for each sensor of each slider. Defines the active-mode sensor index of Slider 0's first sensor.

Detailed Description

Framework Configuration! Slider and Wheel Configuration Options.

Definition in file mTouch_config_slider.h.


Define Documentation

#define MTOUCH_NUMBER_SLIDER1_SENSORS   2

Definition at line 94 of file mTouch_config_slider.h.

#define MTOUCH_NUMBER_SLIDER2_SENSORS   2

Definition at line 106 of file mTouch_config_slider.h.

#define MTOUCH_SLIDER0_SENSOR1   1

Definition at line 83 of file mTouch_config_slider.h.

#define MTOUCH_SLIDER0_SENSOR2   2

Definition at line 84 of file mTouch_config_slider.h.

#define MTOUCH_SLIDER0_SENSOR3   3

Definition at line 85 of file mTouch_config_slider.h.

#define MTOUCH_SLIDER1_SENSOR0   1

Definition at line 96 of file mTouch_config_slider.h.

#define MTOUCH_SLIDER1_SENSOR1   2

Definition at line 97 of file mTouch_config_slider.h.

#define MTOUCH_SLIDER2_SENSOR0   2

Definition at line 108 of file mTouch_config_slider.h.

#define MTOUCH_SLIDER2_SENSOR1   3

Definition at line 109 of file mTouch_config_slider.h.