<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/mouse/logips2pp.c, branch v4.19</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.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2018-02-03T00:50:24Z</updated>
<entry>
<title>Input: psmouse - move sliced command implementation to libps2</title>
<updated>2018-02-03T00:50:24Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2018-01-02T20:03:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=08be954b7a7de6742d3d47e4dc20e3b086410761'/>
<id>urn:sha1:08be954b7a7de6742d3d47e4dc20e3b086410761</id>
<content type='text'>
In preparation to adding some debugging statements to PS/2 control
sequences let's move psmouse_sliced_command() into libps2 and rename it
to ps2_sliced_command().

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: logips2pp - clean up code</title>
<updated>2018-02-03T00:49:01Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2017-03-22T22:27:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=592c352b95db8db9c0d71795183ec1f6ee5c4213'/>
<id>urn:sha1:592c352b95db8db9c0d71795183ec1f6ee5c4213</id>
<content type='text'>
- switch to using BIT() macros
- use u8 instead of unsigned char for byte data
- use input_set_capability() instead of manipulating capabilities bits
  directly
- use sign_extend32() when extracting wheel data.
- do not abuse -1 as error code, propagate errors from various calls.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - create helper for reporting standard buttons/motion</title>
<updated>2018-02-03T00:48:56Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2017-02-08T01:07:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1ef8580539d0b9282b726a2c9b7aa25057040cfe'/>
<id>urn:sha1:1ef8580539d0b9282b726a2c9b7aa25057040cfe</id>
<content type='text'>
Many protocol driver re-implement code to parse buttons or motion data from
the standard PS/2 protocol. Let's split the parsing into separate
functions and reuse them in protocol drivers.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: mouse - use local variables consistently</title>
<updated>2017-01-22T07:52:22Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2017-01-22T07:44:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ad56814fccfba3fe3613fa4d9accff3816786f3c'/>
<id>urn:sha1:ad56814fccfba3fe3613fa4d9accff3816786f3c</id>
<content type='text'>
If a function declares a variable to access a structure element,
use it consistently.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - rename ps2pp_init() to ps2pp_detect()</title>
<updated>2015-12-17T23:24:37Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2015-12-02T19:02:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=190e2031e2db542094659cfa55bfc28545458df5'/>
<id>urn:sha1:190e2031e2db542094659cfa55bfc28545458df5</id>
<content type='text'>
This makes Logitech PS2++ protocol implementation consistent with
the naming in other protocols. Also mark the stub as "static inline"

Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Tested-by: Marcin Sochacki &lt;msochacki+kernel@gmail.com&gt;
Tested-by: Till &lt;till2.schaefer@uni-dortmund.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: logips2pp - fix spelling s/reciver/receiver/</title>
<updated>2014-01-12T19:41:38Z</updated>
<author>
<name>Geert Uytterhoeven</name>
<email>geert+renesas@linux-m68k.org</email>
</author>
<published>2014-01-12T19:08:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=25fd31768e2413a5920dea1253cc06add2bad383'/>
<id>urn:sha1:25fd31768e2413a5920dea1253cc06add2bad383</id>
<content type='text'>
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@linux-m68k.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: convert obsolete strict_strtox to kstrtox</title>
<updated>2011-11-10T05:23:26Z</updated>
<author>
<name>JJ Ding</name>
<email>dgdunix@gmail.com</email>
</author>
<published>2011-11-09T18:20:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=76496e7a02e99d42844f4fffa145b81e513e7acd'/>
<id>urn:sha1:76496e7a02e99d42844f4fffa145b81e513e7acd</id>
<content type='text'>
With commit 67d0a0754455f89ef3946946159d8ec9e45ce33a we mark strict_strtox
as obsolete. Convert all remaining such uses in drivers/input/.

Also change long to appropriate types, and return error conditions
from kstrtox separately, as Dmitry sugguests.

Signed-off-by: JJ Ding &lt;dgdunix@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - switch to using dev_*() for messages</title>
<updated>2011-10-11T01:28:16Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2011-10-11T01:27:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b5d21704361eefe337a36ebbb57a1d9927132511'/>
<id>urn:sha1:b5d21704361eefe337a36ebbb57a1d9927132511</id>
<content type='text'>
This will ensure our reporting is consistent with the rest of the system
and we do not refer to obsolete source file names.

Reviewed-by: Wanlong Gao &lt;gaowanlong@cn.fujitsu.com&gt;
Reviewed-by: JJ Ding &lt;dgdunix@gmail.com&gt;
Reviewed-by: Daniel Kurtz &lt;djkurtz@chromium.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - small formatting changes to better follow coding style</title>
<updated>2010-05-19T18:31:51Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-05-19T17:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a62f0d27b4196bad5e900d766b285feb7069cd16'/>
<id>urn:sha1:a62f0d27b4196bad5e900d766b285feb7069cd16</id>
<content type='text'>
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - rework setting of BTN_MIDDLE capability</title>
<updated>2009-11-20T08:52:12Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2009-11-17T06:12:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=315eb996d5505112b22452ccbc7e01fb02eaae81'/>
<id>urn:sha1:315eb996d5505112b22452ccbc7e01fb02eaae81</id>
<content type='text'>
Do not start protocol detection assuming that middle mouse is present,
instead let individual protocols explicitly set this capability.
This fixes issue with Synaptics touchpads pretending that they have
middle button when hardware clearly reports otherwise.

Reported-and-tested-by: Andrey Borzenkov &lt;arvidjaar@mail.ru&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
</feed>
