Lines Matching +full:event +full:- +full:tap
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
31 * Y, or Z participation in Tap detection. A '0' excludes the
32 * selected axis from participation in Tap detection.
33 * Setting the SUPPRESS bit suppresses Double Tap detection if
35 * tap_latency period, i.e. after the first tap but before the
36 * opening of the second tap window.
48 * holds the threshold value for tap detection/interrupts.
51 * behavior if Tap/Double Tap is enabled.
59 * time that an event must be above the tap_threshold threshold
60 * to qualify as a tap event. The scale factor is 625 us/LSB. A zero
61 * value will prevent Tap/Double Tap functions from working.
69 * from the detection of a tap event to the opening of the time
70 * window tap_window for a possible second tap event. The scale
71 * factor is 1.25 ms/LSB. A zero value will disable the Double Tap
81 * tap can begin. The scale factor is 1.25 ms/LSB. A zero value will
82 * disable the Double Tap function.
152 * result in the function appearing un-responsive if the
162 * holds the threshold value for Free-Fall detection.
163 * The data format is unsigned. The root-sum-square(RSS) value
165 * free_fall_threshold to determine if a free fall event may be
167 * result in undesirable behavior if Free-Fall interrupt is
178 * free_fall_threshold to generate a Free-Fall interrupt. The
180 * undesirable behavior if Free-Fall interrupt is enabled.
189 * RATE = 3200 Hz / (2^(15 - x)). Default value is 0x0A, or 100 Hz
201 * in Full-Resolution Mode, where the output resolution increases
203 * bit is cleared the device is in 10-bit Mode and RANGE determine the
204 * maximum g-Range and scale factor.
273 * events are sent to the event subsystem. The following settings
274 * select the event type and event code for new x, y and z axis data
285 * event reporting
288 u32 ev_code_tap[3]; /* EV_KEY {X-Axis, Y-Axis, Z-Axis} */
291 * A valid BTN or KEY Code for Free-Fall or Activity enables
292 * input event reporting. A '0' disables the Free-Fall or
306 * The orientation function of the ADXL346 reports both 2-D and
307 * 3-D orientation concurrently.
339 * low-pass filter the measured acceleration for stable
354 u32 ev_codes_orient_2d[4]; /* EV_KEY {+X, -X, +Y, -Y} */
355 u32 ev_codes_orient_3d[6]; /* EV_KEY {+Z, +Y, +X, -X, -Y, -Z} */