Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93232
b: refs/heads/master
c: cfbe201
h: refs/heads/master
v: v3
  • Loading branch information
Anssi Hannula authored and Dmitry Torokhov committed Apr 3, 2008
1 parent 5d20d67 commit 7d26461
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc55e95214f1e8384e48cff88279d16507fa5358
refs/heads/master: cfbe20106fa00e89c1fb2c74dbff0ba80e0e539d
3 changes: 3 additions & 0 deletions trunk/drivers/input/joystick/xpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,9 @@ static int xpad_play_effect(struct input_dev *dev, void *data,

static int xpad_init_ff(struct usb_xpad *xpad)
{
if (xpad->xtype != XTYPE_XBOX360)
return 0;

input_set_capability(xpad->dev, EV_FF, FF_RUMBLE);

return input_ff_create_memless(xpad->dev, NULL, xpad_play_effect);
Expand Down

0 comments on commit 7d26461

Please sign in to comment.