<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/joydev.c, branch v2.6.34</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.34</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.34'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2010-05-04T06:51:28Z</updated>
<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>
<entry>
<title>Input: fix EVIOCGNAME/JSIOCGNAME regression</title>
<updated>2009-07-14T05:24:29Z</updated>
<author>
<name>Daniel Mack</name>
<email>daniel@caiaq.de</email>
</author>
<published>2009-07-14T05:22:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f936601471d1454dacbd3b2a961fd4d883090aeb'/>
<id>urn:sha1:f936601471d1454dacbd3b2a961fd4d883090aeb</id>
<content type='text'>
Commit 3d5cb60e ("Input: simplify name handling for certain input
handles") introduced a regression for the EVIOCGNAME/JSIOCGNAME
ioctl.

Before this, patch, the platform device's name was given back to
userspace which was good to identify devices. After this patch, the
device is ("event%d", minor) which is not descriptive at all.

This fixes the behaviour by taking dev-&gt;name.

Reported-by: Sven Neumann &lt;s.neumann@raumfeld.com&gt;
Signed-off-by: Daniel Mack &lt;daniel@caiaq.de&gt;
Reviewed-by: Thadeu Lima de Souza Cascardo &lt;cascardo@holoscopio.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Merge commit 'v2.6.30' into next</title>
<updated>2009-06-11T08:58:01Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2009-06-11T08:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4894e4aca82aca927d0404ce61f021f790de4b1e'/>
<id>urn:sha1:4894e4aca82aca927d0404ce61f021f790de4b1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Input: simplify name handling for certain input handles</title>
<updated>2009-05-11T07:11:43Z</updated>
<author>
<name>Thadeu Lima de Souza Cascardo</name>
<email>cascardo@holoscopio.com</email>
</author>
<published>2009-05-09T23:08:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3d5cb60ef3042ac479dab82e5a945966a0d54d53'/>
<id>urn:sha1:3d5cb60ef3042ac479dab82e5a945966a0d54d53</id>
<content type='text'>
For evdev, joydev and mousedev, instead of having a separate character array
holding name of the handle, use struct devce's name which is the same.

Signed-off-by: Thadeu Lima de Souza Cascardo &lt;cascardo@holoscopio.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: joydev - blacklist digitizers</title>
<updated>2009-05-08T02:04:03Z</updated>
<author>
<name>Tim Cole</name>
<email>tim.cole@canonical.com</email>
</author>
<published>2009-05-08T00:08:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d07a9cba6be5c0e947afc1014b5a62182a86f1f1'/>
<id>urn:sha1:d07a9cba6be5c0e947afc1014b5a62182a86f1f1</id>
<content type='text'>
BTN_TOUCH is not set by the wacom driver which causes it to be handled by the
joydev driver while the resulting device is broken. This causes problems with
applications that try to use a joystick device.

Ubuntu BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/300143

Signed-off-by: Tim Cole &lt;tim.cole@canonical.com&gt;
Signed-off-by: Stefan Bader &lt;stefan.bader@canonical.com&gt;
Acked-by: Tim Gardner &lt;tim.gardner@canonical.com&gt;
Acked-by: Amit Kucheria &lt;amit.kucheria@canonical.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
</feed>
