xone: fixed rumble.

This commit is contained in:
Sorgelig
2022-03-17 07:48:51 +08:00
parent 4ddd8ec3de
commit 5a7965488f

View File

@@ -201,6 +201,7 @@ static int gip_gamepad_init_input(struct gip_gamepad *gamepad)
}
spin_lock_init(&gamepad->rumble.lock);
gamepad->rumble.last = jiffies;
timer_setup(&gamepad->rumble.timer, gip_gamepad_send_rumble, 0);
return 0;