Init rumble to an invalid value, so that the first rumble command gets never ignored
This commit is contained in:
parent
dfa03c6114
commit
fdadf215b7
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ struct FirestormMsg
|
|||
} __attribute__((__packed__));
|
||||
|
||||
FirestormDualController::FirestormDualController(struct usb_device* dev)
|
||||
: left_rumble(0),
|
||||
right_rumble(0)
|
||||
: left_rumble(-1),
|
||||
right_rumble(-1)
|
||||
{
|
||||
handle = usb_open(dev);
|
||||
if (!handle)
|
||||
|
|
Loading…
Add table
Reference in a new issue