<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/joystick, branch v4.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.6</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-04-05T16:49:17Z</updated>
<entry>
<title>Input: xpad - add Mad Catz FightStick TE 2 VID/PID</title>
<updated>2016-04-05T16:49:17Z</updated>
<author>
<name>Silvan Jegen</name>
<email>s.jegen@gmail.com</email>
</author>
<published>2016-03-18T00:15:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d63b0f0c0f19dc8687387ead5a28148dcad1a4b9'/>
<id>urn:sha1:d63b0f0c0f19dc8687387ead5a28148dcad1a4b9</id>
<content type='text'>
This adds the VID/PID combination for the Xbox One version of the Mad
Catz FightStick TE 2.

The functionality that this provides is about on par with what the
Windows drivers for the stick manage to deliver.

What works:
- Digital stick
- 6 main buttons
- Xbox button
- The two buttons on the back
- The locking buttons (preventing accidental Xbox button press)

What doesn't work:
- Two of the main buttons (don't work on Windows either)
- The "Haptic" button setting does not have an effect (not sure if it
  works on Windows)

I added the MAP_TRIGGERS_TO_BUTTONS option but in my (limited) testing
there was no practical difference with or without. The FightStick does
not have triggers though so adding it makes sense.

Signed-off-by: Silvan Jegen &lt;s.jegen@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: xpad - remove unused function</title>
<updated>2016-01-27T23:55:06Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2016-01-27T23:42:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a6ed4a18ba6a6f5a01e024b9d221d6439bf6ca4c'/>
<id>urn:sha1:a6ed4a18ba6a6f5a01e024b9d221d6439bf6ca4c</id>
<content type='text'>
There are two definitions of xpad_identify_controller(), one is used
when CONFIG_JOYSTICK_XPAD_LEDS is set, but the other one is empty
and never used, and we get a gcc warning about it:

drivers/input/joystick/xpad.c:1210:13: warning: 'xpad_identify_controller' defined but not used [-Wunused-function]

This removes the second definition.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Fixes: cae705baa40b ("Input: xpad - re-send LED command on present event")
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Merge branch 'next' into for-linus</title>
<updated>2016-01-22T01:27:27Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2016-01-22T01:27:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b26a95d435190a44483f7fbad1328f825b7901d0'/>
<id>urn:sha1:b26a95d435190a44483f7fbad1328f825b7901d0</id>
<content type='text'>
Prepare second round of input updates for 4.5 merge window.
</content>
</entry>
<entry>
<title>Input: xpad - correct xbox one pad device name</title>
<updated>2016-01-13T00:28:44Z</updated>
<author>
<name>Pavel Rojtberg</name>
<email>rojtberg@gmail.com</email>
</author>
<published>2016-01-12T22:35:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=95162dc8493ed92e5f7dcc8874e58c2ba3836b43'/>
<id>urn:sha1:95162dc8493ed92e5f7dcc8874e58c2ba3836b43</id>
<content type='text'>
Apparently the Covert Forces ID is not Covert Forces pad exclusive, but
rather denotes a new firmware version that can be found on all new
controllers and can be also updated on old hardware using Windows 10.

see: https://github.com/paroj/xpad/issues/19

Signed-off-by: Pavel Rojtberg &lt;rojtberg@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Merge branch 'next' into for-linus</title>
<updated>2016-01-12T01:47:25Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2016-01-12T01:47:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=009f773836513960d3982e80c86e266d25528563'/>
<id>urn:sha1:009f773836513960d3982e80c86e266d25528563</id>
<content type='text'>
Prepare first round of input updates for 4.5 merge window.
</content>
</entry>
<entry>
<title>Input: xpad - use LED API when identifying wireless controllers</title>
<updated>2016-01-04T22:35:15Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2015-12-16T22:24:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d9be398afb2c3333716324352d062c50112e4e86'/>
<id>urn:sha1:d9be398afb2c3333716324352d062c50112e4e86</id>
<content type='text'>
When lighting up the segment identifying wireless controller, Instead of
sending command directly to the controller, let's do it via LED API (usinf
led_set_brightness) so that LED object state is in sync with controller
state and we'll light up the correct segment on resume as well.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: xpad - workaround dead irq_out after suspend/ resume</title>
<updated>2016-01-04T22:35:06Z</updated>
<author>
<name>Pavel Rojtberg</name>
<email>rojtberg@gmail.com</email>
</author>
<published>2015-12-09T21:30:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4220f7db1e424f2a086ad41217b5770cc9f003a9'/>
<id>urn:sha1:4220f7db1e424f2a086ad41217b5770cc9f003a9</id>
<content type='text'>
The irq_out urb is dead after suspend/ resume on my x360 wr pad. (also
reproduced by Zachary Lund [0]) Work around this by implementing
suspend, resume, and reset_resume callbacks and properly shutting down
URBs on suspend and restarting them on resume.

[0]: https://github.com/paroj/xpad/issues/6

Signed-off-by: Pavel Rojtberg &lt;rojtberg@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - update Xbox One Force Feedback Support</title>
<updated>2016-01-04T19:39:46Z</updated>
<author>
<name>Pierre-Loup A. Griffais</name>
<email>githubpublic@plagman.net</email>
</author>
<published>2015-12-09T21:40:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2a6d7527b35cf987260800807e328d167aef22ac'/>
<id>urn:sha1:2a6d7527b35cf987260800807e328d167aef22ac</id>
<content type='text'>
There's apparently a serial number woven into both input and output
packets; neglecting to specify a valid serial number causes the controller
to ignore the rumble packets.

The scale of the rumble was also apparently halved in the packets.

The initialization packet had to be changed to allow force feedback to
work.

see https://github.com/paroj/xpad/issues/7 for details.

Signed-off-by: Pavel Rojtberg &lt;rojtberg@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: xpad - correctly handle concurrent LED and FF requests</title>
<updated>2016-01-04T19:39:38Z</updated>
<author>
<name>Pavel Rojtberg</name>
<email>rojtberg@gmail.com</email>
</author>
<published>2015-12-09T19:57:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7fc595f4c02636eadaeeecfe7bbc45b57c173004'/>
<id>urn:sha1:7fc595f4c02636eadaeeecfe7bbc45b57c173004</id>
<content type='text'>
Track the status of the irq_out URB to prevent submission iof new requests
while current one is active. Failure to do so results in the "URB submitted
while active" warning/stack trace.

Store pending brightness and FF effect in the driver structure and replace
it with the latest requests until the device is ready to process next
request. Alternate serving LED vs FF requests to make sure one does not
starve another. See [1] for discussion. Inspired by patch of Sarah Bessmer
[2].

[1]: http://www.spinics.net/lists/linux-input/msg40708.html
[2]: http://www.spinics.net/lists/linux-input/msg31450.html

Signed-off-by: Pavel Rojtberg &lt;rojtberg@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - handle "present" and "gone" correctly</title>
<updated>2015-12-17T01:11:30Z</updated>
<author>
<name>Pierre-Loup A. Griffais</name>
<email>pgriffais@valvesoftware.com</email>
</author>
<published>2015-12-09T19:46:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=09c8b00ae3e16c8d0fd4beb2ca064502a76c0f17'/>
<id>urn:sha1:09c8b00ae3e16c8d0fd4beb2ca064502a76c0f17</id>
<content type='text'>
Handle the "a new device is present" message properly by dynamically
creating the input device at this point in time. This means we now do not
"preallocate" all 4 devices when a single wireless base station is seen.
This requires a workqueue as we are in interrupt context when we learn
about this.

Also properly disconnect any devices that we are told are removed.

Signed-off-by: "Pierre-Loup A. Griffais" &lt;pgriffais@valvesoftware.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Pavel Rojtberg &lt;rojtberg@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
</feed>
