Lines Matching defs:haptics
179 } haptics;
275 struct input_dev *haptics;
281 haptics = shield_allocate_input_dev(dev->hdev, "Haptics");
282 if (IS_ERR(haptics))
283 return haptics;
285 input_set_capability(haptics, EV_FF, FF_RUMBLE);
286 input_ff_create_memless(haptics, NULL, play_effect);
288 ret = input_register_device(haptics);
292 return haptics;
295 input_free_device(haptics);
359 report->haptics.update = 1;
361 report->haptics.motors = ts->haptics_val;
580 struct thunderstrike_hostcmd_haptics *haptics)
583 "Thunderstrike haptics HOSTCMD response, left: %u right: %u\n",
584 haptics->motor_left, haptics->motor_right);
890 hid_err(hdev, "Failed to create Thunderstrike haptics instance\n");