| /linux/drivers/input/ |
| H A D | ff-memless.c | 270 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 D | ff-core.c | 63 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 D | hid-lg2ff.c | 29 strong = effect->u.rumble.strong_magnitude; in play_effect() 30 weak = effect->u.rumble.weak_magnitude; in play_effect()
|
| H A D | hid-lgff.c | 82 right = effect->u.rumble.strong_magnitude; in hid_lgff_play() 83 left = effect->u.rumble.weak_magnitude; in hid_lgff_play()
|
| H A D | hid-wiimote-core.c | 130 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 D | hid-wiimote.h | 267 extern void wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble);
|
| H A D | hid-nvidia-shield.c | 413 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 D | drv2667.c | 233 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 D | gpio-vibra.c | 83 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 D | drv260x.c | 249 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 D | twl4030-vibra.c | 127 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 D | pwm-vibra.c | 111 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 D | pm8xxx-vibrator.c | 193 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 D | twl6040-vibra.c | 194 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 D | max77693-haptic.c | 249 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 D | max8997_haptic.c | 215 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 D | sc27xx-vibra.c | 99 info->strength = effect->u.rumble.weak_magnitude; in sc27xx_vibra_play()
|
| /linux/drivers/input/joystick/ |
| H A D | Kconfig | 310 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 D | psxpad-spi.c | 150 (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 D | gamecon.c | 257 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 D | xpad.c | 1540 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 D | ff.rst | 87 - FF_RUMBLE rumble effects
|
| /linux/Documentation/input/devices/ |
| H A D | xpad.rst | 16 the Xbox One's rumble protocol has not been reverse-engineered but in
|
| /linux/Documentation/hid/ |
| H A D | hid-transport.rst | 123 to device and may include LED requests, rumble requests or more. Output
|