Lines Matching +full:abs +full:- +full:flat
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
20 #include "input-event-codes.h"
56 * IOCTLs (0x00 - 0x7f)
67 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
73 * @flat: values that are within this value will be discarded by
98 __s32 flat; member
103 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
104 * @scancode: scancode represented in machine-endian form.
148 * EVIOCGMTSLOTS(len) - get MT slot values
169 * If the request code is not an ABS_MT value, -EINVAL is returned.
179 #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) /* get abs value/limits */ argument
180 #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) /* set abs value/limits */ argument
190 * EVIOCGMASK - Retrieve current event mask
197 * The event mask is a per-client mask that specifies which events are
215 * if the receive-buffer points to invalid memory, or EINVAL if the kernel
218 #define EVIOCGMASK _IOR('E', 0x92, struct input_mask) /* Get event-masks */
221 * EVIOCSMASK - Set event mask
225 * type. See EVIOCGMASK for a description of event-masks and the
226 * argument-type.
234 * all known event-codes, all remaining codes are automatically cleared and
238 * returned if the receive-buffer points to invalid memory. EINVAL is returned
241 #define EVIOCSMASK _IOW('E', 0x93, struct input_mask) /* Set event-masks */
289 * Values describing the status of a force-feedback effect
306 * struct ff_replay - defines scheduling of the force-feedback effect
316 * struct ff_trigger - defines what triggers the force-feedback effect
318 * @interval: controls how soon the effect can be re-triggered
326 * struct ff_envelope - generic force-feedback effect envelope
333 * envelope force-feedback core will convert to positive/negative
335 * Valid range for the attack and fade levels is 0x0000 - 0x7fff
345 * struct ff_constant_effect - defines parameters of a constant force-feedback effect
355 * struct ff_ramp_effect - defines parameters of a ramp force-feedback effect
367 * struct ff_condition_effect - defines a spring or friction force-feedback effect
388 * struct ff_periodic_effect - defines parameters of a periodic force-feedback effect
398 * Known waveforms - FF_SQUARE, FF_TRIANGLE, FF_SINE, FF_SAW_UP,
419 * struct ff_rumble_effect - defines parameters of a periodic force-feedback effect
432 * struct ff_effect - defines force feedback effect
439 * @u: effect-specific structure (one of ff_constant_effect, ff_ramp_effect,
444 * To create a new effect application should set its @id to -1; the kernel
449 * 0 deg -> 0x0000 (down)
450 * 90 deg -> 0x4000 (left)
451 * 180 deg -> 0x8000 (up)
452 * 270 deg -> 0xC000 (right)
508 * ff->playback(effect_id = FF_GAIN) is the first effect_id to
509 * cause a collision with another ff method, in this case ff->set_gain().
510 * Therefore the greatest safe value for effect_id is FF_GAIN - 1,