Home
last modified time | relevance | path

Searched refs:rumble (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/input/
H A Dff-memless.c270 strong = (u32)new->u.rumble.strong_magnitude * gain / 0xffff; in ml_combine_effects()
271 weak = (u32)new->u.rumble.weak_magnitude * gain / 0xffff; in ml_combine_effects()
273 if (effect->u.rumble.strong_magnitude + strong) in ml_combine_effects()
276 effect->u.rumble.strong_magnitude, in ml_combine_effects()
278 else if (effect->u.rumble.weak_magnitude + weak) in ml_combine_effects()
281 effect->u.rumble.weak_magnitude, in ml_combine_effects()
285 effect->u.rumble.strong_magnitude = in ml_combine_effects()
286 min(strong + effect->u.rumble.strong_magnitude, in ml_combine_effects()
288 effect->u.rumble.weak_magnitude = in ml_combine_effects()
289 min(weak + effect->u.rumble.weak_magnitude, 0xffffU); in ml_combine_effects()
[all …]
H A Dff-core.c63 magnitude = effect->u.rumble.strong_magnitude / 3 + in compat_effect()
64 effect->u.rumble.weak_magnitude / 6; in compat_effect()
/linux/drivers/hid/
H A Dhid-lg2ff.c29 strong = effect->u.rumble.strong_magnitude; in play_effect()
30 weak = effect->u.rumble.weak_magnitude; in play_effect()
H A Dhid-lgff.c82 right = effect->u.rumble.strong_magnitude; in hid_lgff_play()
83 left = effect->u.rumble.weak_magnitude; in hid_lgff_play()
H A Dhid-wiimote-core.c130 void wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble) in wiiproto_req_rumble() argument
134 rumble = !!rumble; in wiiproto_req_rumble()
135 if (rumble == !!(wdata->state.flags & WIIPROTO_FLAG_RUMBLE)) in wiiproto_req_rumble()
138 if (rumble) in wiiproto_req_rumble()
H A Dhid-wiimote.h267 extern void wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble);
H A Dhid-nvidia-shield.c413 motors.motor_left = effect->u.rumble.strong_magnitude / 2047; in thunderstrike_play_effect()
414 motors.motor_right = effect->u.rumble.weak_magnitude / 2047; in thunderstrike_play_effect()
/linux/drivers/input/misc/
H A Ddrv2667.c233 if (effect->u.rumble.strong_magnitude > 0) in drv2667_haptics_play()
234 haptics->magnitude = effect->u.rumble.strong_magnitude; in drv2667_haptics_play()
235 else if (effect->u.rumble.weak_magnitude > 0) in drv2667_haptics_play()
236 haptics->magnitude = effect->u.rumble.weak_magnitude; in drv2667_haptics_play()
H A Dgpio-vibra.c83 level = effect->u.rumble.strong_magnitude; in gpio_vibrator_play_effect()
85 level = effect->u.rumble.weak_magnitude; in gpio_vibrator_play_effect()
H A Ddrv260x.c249 if (effect->u.rumble.strong_magnitude > 0) in drv260x_haptics_play()
250 haptics->magnitude = effect->u.rumble.strong_magnitude >> 8; in drv260x_haptics_play()
251 else if (effect->u.rumble.weak_magnitude > 0) in drv260x_haptics_play()
252 haptics->magnitude = effect->u.rumble.weak_magnitude >> 8; in drv260x_haptics_play()
H A Dtwl4030-vibra.c127 info->speed = effect->u.rumble.strong_magnitude >> 8; in vibra_play()
129 info->speed = effect->u.rumble.weak_magnitude >> 9; in vibra_play()
H A Dpwm-vibra.c111 vibrator->level = effect->u.rumble.strong_magnitude; in pwm_vibrator_play_effect()
113 vibrator->level = effect->u.rumble.weak_magnitude; in pwm_vibrator_play_effect()
H A Dpm8xxx-vibrator.c193 vib->speed = effect->u.rumble.strong_magnitude >> 8; in pm8xxx_vib_play_effect()
195 vib->speed = effect->u.rumble.weak_magnitude >> 9; in pm8xxx_vib_play_effect()
H A Dtwl6040-vibra.c194 info->weak_speed = effect->u.rumble.weak_magnitude; in vibra_play()
195 info->strong_speed = effect->u.rumble.strong_magnitude; in vibra_play()
H A Dmax77693-haptic.c249 haptic->magnitude = effect->u.rumble.strong_magnitude; in max77693_haptic_play_effect()
251 haptic->magnitude = effect->u.rumble.weak_magnitude; in max77693_haptic_play_effect()
H A Dmax8997_haptic.c215 chip->level = effect->u.rumble.strong_magnitude; in max8997_haptic_play_effect()
217 chip->level = effect->u.rumble.weak_magnitude; in max8997_haptic_play_effect()
H A Dsc27xx-vibra.c99 info->strength = effect->u.rumble.weak_magnitude; in sc27xx_vibra_play()
/linux/drivers/input/joystick/
H A DKconfig310 bool "Xbox gamepad rumble support"
314 Say Y here if you want to take advantage of Xbox 360 rumble features.
358 bool "PlayStation 1/2 joypads force feedback (rumble) support"
363 joypads rumble features.
365 To drive rumble motor a dedicated power supply is required.
H A Dpsxpad-spi.c150 (effect->u.rumble.weak_magnitude >> 8) & 0xFFU, in psxpad_spi_play_effect()
151 (effect->u.rumble.strong_magnitude >> 8) & 0xFFU); in psxpad_spi_play_effect()
H A Dgamecon.c257 struct ff_rumble_effect *rumble = &effect->u.rumble; in gc_n64_play_effect() local
259 rumble->strong_magnitude || rumble->weak_magnitude ? in gc_n64_play_effect()
H A Dxpad.c1540 strong = effect->u.rumble.strong_magnitude; in xpad_play_effect()
1541 weak = effect->u.rumble.weak_magnitude; in xpad_play_effect()
/linux/Documentation/input/
H A Dff.rst87 - FF_RUMBLE rumble effects
/linux/Documentation/input/devices/
H A Dxpad.rst16 the Xbox One's rumble protocol has not been reverse-engineered but in
/linux/Documentation/hid/
H A Dhid-transport.rst123 to device and may include LED requests, rumble requests or more. Output