Lines Matching +full:current +full:- +full:ramp +full:- +full:delay +full:- +full:ms

1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
15 #include "standard-headers/linux/types.h"
17 #include "standard-headers/linux/input-event-codes.h"
53 * IOCTLs (0x00 - 0x7f)
64 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
100 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
101 * @scancode: scancode represented in machine-endian form.
145 * EVIOCGMTSLOTS(len) - get MT slot values
166 * If the request code is not an ABS_MT value, -EINVAL is returned.
187 * EVIOCGMASK - Retrieve current event mask
189 * This ioctl allows user to retrieve the current event mask for specific
194 * The event mask is a per-client mask that specifies which events are
212 * if the receive-buffer points to invalid memory, or EINVAL if the kernel
215 #define EVIOCGMASK _IOR('E', 0x92, struct input_mask) /* Get event-masks */
218 * EVIOCSMASK - Set event mask
221 * current event mask, this changes the client's event mask for a specific
222 * type. See EVIOCGMASK for a description of event-masks and the
223 * argument-type.
231 * all known event-codes, all remaining codes are automatically cleared and
235 * returned if the receive-buffer points to invalid memory. EINVAL is returned
238 #define EVIOCSMASK _IOW('E', 0x93, struct input_mask) /* Set event-masks */
286 * Values describing the status of a force-feedback effect
298 * All duration values are expressed in ms. Values above 32767 ms (0x7fff)
303 * struct ff_replay - defines scheduling of the force-feedback effect
305 * @delay: delay before effect should start playing
309 uint16_t delay; member
313 * struct ff_trigger - defines what triggers the force-feedback effect
315 * @interval: controls how soon the effect can be re-triggered
323 * struct ff_envelope - generic force-feedback effect envelope
324 * @attack_length: duration of the attack (ms)
326 * @fade_length: duration of fade (ms)
330 * envelope force-feedback core will convert to positive/negative
332 * Valid range for the attack and fade levels is 0x0000 - 0x7fff
342 * struct ff_constant_effect - defines parameters of a constant force-feedback effect
352 * struct ff_ramp_effect - defines parameters of a ramp force-feedback effect
364 * struct ff_condition_effect - defines a spring or friction force-feedback effect
385 * struct ff_periodic_effect - defines parameters of a periodic force-feedback effect
387 * @period: period of the wave (ms)
395 * Known waveforms - FF_SQUARE, FF_TRIANGLE, FF_SINE, FF_SAW_UP,
416 * struct ff_rumble_effect - defines parameters of a periodic force-feedback effect
429 * struct ff_effect - defines force feedback effect
436 * @u: effect-specific structure (one of ff_constant_effect, ff_ramp_effect,
441 * To create a new effect application should set its @id to -1; the kernel
446 * 0 deg -> 0x0000 (down)
447 * 90 deg -> 0x4000 (left)
448 * 180 deg -> 0x8000 (up)
449 * 270 deg -> 0xC000 (right)
460 struct ff_ramp_effect ramp; member
505 * ff->playback(effect_id = FF_GAIN) is the first effect_id to
506 * cause a collision with another ff method, in this case ff->set_gain().
507 * Therefore the greatest safe value for effect_id is FF_GAIN - 1,