<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/joydev.c, branch v2.6.36</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=v2.6.36</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.36'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2010-09-21T07:59:43Z</updated>
<entry>
<title>Input: joydev - fix JSIOCSAXMAP ioctl</title>
<updated>2010-09-21T07:59:43Z</updated>
<author>
<name>Kenneth Waters</name>
<email>kwwaters@gmail.com</email>
</author>
<published>2010-09-21T07:58:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d2520a426dc3033c00077e923a553fc6c98c7564'/>
<id>urn:sha1:d2520a426dc3033c00077e923a553fc6c98c7564</id>
<content type='text'>
Fixed JSIOCSAXMAP ioctl to update absmap, the map from hardware axis to
event axis in addition to abspam.  This fixes a regression introduced
by 999b874f.

Signed-off-by: Kenneth Waters &lt;kwwaters@gmail.com&gt;
Cc: stable@kernel.org
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: switch to input_abs_*() access functions</title>
<updated>2010-08-03T03:29:56Z</updated>
<author>
<name>Daniel Mack</name>
<email>daniel@caiaq.de</email>
</author>
<published>2010-08-03T03:15:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=987a6c0298260b7aa40702b349282554d6180e4b'/>
<id>urn:sha1:987a6c0298260b7aa40702b349282554d6180e4b</id>
<content type='text'>
Change all call sites in drivers/input to not access the ABS axis
information directly anymore. Make them use the access helpers instead.

Also use input_set_abs_params() when possible.
Did some code refactoring as I was on it.

Signed-off-by: Daniel Mack &lt;daniel@caiaq.de&gt;
Cc: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: change input handlers to use bool when possible</title>
<updated>2010-07-16T06:52:33Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-07-16T06:27:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=20da92de8ec3c1d4ba7e5aca322d38b6ce634932'/>
<id>urn:sha1:20da92de8ec3c1d4ba7e5aca322d38b6ce634932</id>
<content type='text'>
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: use ABS_CNT rather than (ABS_MAX + 1)</title>
<updated>2010-05-21T06:05:28Z</updated>
<author>
<name>Daniel Mack</name>
<email>daniel@caiaq.de</email>
</author>
<published>2010-05-21T05:52:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=81c2a3ba497835797332b517ebf2de7b7f2a7c80'/>
<id>urn:sha1:81c2a3ba497835797332b517ebf2de7b7f2a7c80</id>
<content type='text'>
Signed-off-by: Daniel Mack &lt;daniel@caiaq.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: joydev - allow binding to button-only devices</title>
<updated>2010-05-04T06:51:28Z</updated>
<author>
<name>Christoph Fritz</name>
<email>chf.fritz@googlemail.com</email>
</author>
<published>2010-04-25T04:41:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=26a6931ba7656dc0ebebee615ba87db8a8e71f2b'/>
<id>urn:sha1:26a6931ba7656dc0ebebee615ba87db8a8e71f2b</id>
<content type='text'>
Dance pads don't have an axis, so allow this kind of controllers
to be used via legacy joystick interface.

Signed-off-by: Christoph Fritz &lt;chf.fritz@googlemail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: mark input interfaces as non-seekable</title>
<updated>2010-02-04T08:31:44Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-02-04T08:30:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3d7bbd4575cfb23e6ef7368fff1f7d7e198b7930'/>
<id>urn:sha1:3d7bbd4575cfb23e6ef7368fff1f7d7e198b7930</id>
<content type='text'>
Seeking does not make sense for input interfaces such as evdev and joydev
so let's use nonseekable_open to mark them non-seekable.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: add match() method to input hanlders</title>
<updated>2010-02-04T08:25:19Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-02-03T05:08:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0b7024ac4df5821347141c18e680b7166bc1cb20'/>
<id>urn:sha1:0b7024ac4df5821347141c18e680b7166bc1cb20</id>
<content type='text'>
Get rid of blacklist in input handler structure and instead allow
handlers to define their own match() method to perform fine-grained
filtering of supported devices.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>headers: remove sched.h from poll.h</title>
<updated>2009-10-04T22:05:10Z</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2009-10-04T12:11:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a99bbaf5ee6bad1aca0c88ea65ec6e5373e86184'/>
<id>urn:sha1:a99bbaf5ee6bad1aca0c88ea65ec6e5373e86184</id>
<content type='text'>
Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Input: joydev - validate axis/button maps before clobbering current ones</title>
<updated>2009-08-28T05:01:39Z</updated>
<author>
<name>Stephen Kitt</name>
<email>steve@sk2.org</email>
</author>
<published>2009-08-26T02:24:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=999b874f4aa39b7abf45662ff0900f943ddb2d02'/>
<id>urn:sha1:999b874f4aa39b7abf45662ff0900f943ddb2d02</id>
<content type='text'>
Up to now axis and button map validation was done after the user-supplied
values were copied over the driver's map. This patch copies the
user-supplied values into temporary buffers and validated them before
overwriting the driver's permanent maps.

Also change JSIOCGBTNMAP and JSIOCGAXMAP to return number of bytes returned
to userspace instead of 0.

Signed-off-by: Stephen Kitt &lt;steve@sk2.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: joydev - decouple axis and button map ioctls from input constants</title>
<updated>2009-08-12T08:16:13Z</updated>
<author>
<name>Stephen Kitt</name>
<email>steve@sk2.org</email>
</author>
<published>2009-08-12T08:12:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ec8b4b7085605e801a7740a2c3c33256aebe249c'/>
<id>urn:sha1:ec8b4b7085605e801a7740a2c3c33256aebe249c</id>
<content type='text'>
The KEY_MAX change in 2.6.28 changed the values of the JSIOCSBTNMAP and
JSIOCGBTNMAP constants; software compiled with the old values no longer
works with kernels following 2.6.28, because the ioctl switch statement
no longer matches the values given by the software. This patch handles
these ioctls independently of the length of data specified, and applies the
same treatment to JSIOCSAXMAP and JSIOCGAXMAP which currently depend on
ABS_MAX.

Signed-off-by: Stephen Kitt &lt;steve@sk2.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
</feed>
