<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtdev.git/src/caps.c, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://bitmath.se/org/git/mtdev.git/atom?h=master</id>
<link rel='self' href='https://bitmath.se/org/git/mtdev.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/'/>
<updated>2020-01-26T14:00:32+00:00</updated>
<entry>
<title>Use a macro for `nlongs` so it can be used in constant expression</title>
<updated>2020-01-26T14:00:32+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2019-06-07T18:29:01+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=5a260fa95a5e7cebdd8f9da947c8d8eb244efae0'/>
<id>urn:sha1:5a260fa95a5e7cebdd8f9da947c8d8eb244efae0</id>
<content type='text'>
This way, it can be used to specify the `absbits` array size (in
`mtdev_configure`) without making it a VLA.

VLAs are an optional feature in C11, and in this case we can determine
the array size statically.

This also matches the macros used in libevdev and libinput.

Signed-off-by: Michael Forney &lt;mforney@mforney.org&gt;
Signed-off-by: Henrik Rydberg &lt;rydberg@bitmath.se&gt;
</content>
</entry>
<entry>
<title>caps.c: declare mtdev_set_slots() static</title>
<updated>2017-11-29T21:15:52+00:00</updated>
<author>
<name>Martin Kepplinger</name>
<email>martink@posteo.de</email>
</author>
<published>2017-08-22T09:12:11+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=8ba8d359392693f9882ea2d195fc1bebb8b3a29d'/>
<id>urn:sha1:8ba8d359392693f9882ea2d195fc1bebb8b3a29d</id>
<content type='text'>
mtdev_set_slots() is only used internally, so it should be static.

Signed-off-by: Martin Kepplinger &lt;martink@posteo.de&gt;
</content>
</entry>
<entry>
<title>Replace hardcoded 11 with a define</title>
<updated>2013-07-31T00:05:49+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2013-07-25T03:21:09+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=6f7c5c558006bb69fdf0af73103097c012ccfed5'/>
<id>urn:sha1:6f7c5c558006bb69fdf0af73103097c012ccfed5</id>
<content type='text'>
The 11 comes from the legacy API that we need to be binary compatible with.
Make this clear with a define and a comment.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
</entry>
<entry>
<title>Add support for kernel MT slot state retrieval</title>
<updated>2012-02-16T15:33:53+00:00</updated>
<author>
<name>Henrik Rydberg</name>
<email>rydberg@euromail.se</email>
</author>
<published>2012-02-16T15:25:30+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=43ce27aab2d990e9a4f54d2050b851bd2da01875'/>
<id>urn:sha1:43ce27aab2d990e9a4f54d2050b851bd2da01875</id>
<content type='text'>
From kernel 3.4, extraction of the MT slot state is supported
via the EVIOGMTSLOTS ioctl. This patch initializes the slots
using that information.

Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
</content>
</entry>
<entry>
<title>Introduce a stable ABI</title>
<updated>2010-12-22T17:29:00+00:00</updated>
<author>
<name>Henrik Rydberg</name>
<email>rydberg@euromail.se</email>
</author>
<published>2010-12-22T17:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=56a77e68fb91eef928d8a95c50ae14508e37ae0f'/>
<id>urn:sha1:56a77e68fb91eef928d8a95c50ae14508e37ae0f</id>
<content type='text'>
The current mtdev is not ABI stable, and the upcoming additions
to the kernel api will break ABI. This patch starts the process
of keeping binary compatibility with old programs, by moving the
abi-specific parts under a special flag, MTDEV_NO_LEGACY_API,
and makes sure the internal parts compiles with MTDEV_NO_LEGACY_API
set. This way, older programs will still work, old programs will
still compile, and new programs will be able to use the additions.

Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
</content>
</entry>
<entry>
<title>Fall back to single-touch position and pressure dimensions</title>
<updated>2010-09-07T14:08:44+00:00</updated>
<author>
<name>Henrik Rydberg</name>
<email>rydberg@bitmath.org</email>
</author>
<published>2010-09-07T13:54:27+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=61632a31642ecaa7288624b0dc9887c4196cc165'/>
<id>urn:sha1:61632a31642ecaa7288624b0dc9887c4196cc165</id>
<content type='text'>
In case mtdev is driving a non-MT device, basic dimensions are not set
properly. Fall back on ABS_X/Y and ABS_PRESSURE, such that basic
pointer operations can be supported through mtdev.

Signed-off-by: Henrik Rydberg &lt;rydberg@bitmath.org&gt;
</content>
</entry>
<entry>
<title>Apply new package title to all files</title>
<updated>2010-06-22T09:55:04+00:00</updated>
<author>
<name>Henrik Rydberg</name>
<email>rydberg@euromail.se</email>
</author>
<published>2010-06-22T09:55:04+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=d4d92de224681a260de81be44374649de2bfb485'/>
<id>urn:sha1:d4d92de224681a260de81be44374649de2bfb485</id>
<content type='text'>
This patch changes the package description title in all relevant
files, and touches up the README. All systems go.

Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
</content>
</entry>
<entry>
<title>Unused slot is denoted by MT_TRACKING_ID == -1</title>
<updated>2010-06-21T22:44:40+00:00</updated>
<author>
<name>Henrik Rydberg</name>
<email>rydberg@euromail.se</email>
</author>
<published>2010-06-21T20:43:58+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=ba936eddbf88b6d8f650082f6e7d2694f8addac4'/>
<id>urn:sha1:ba936eddbf88b6d8f650082f6e7d2694f8addac4</id>
<content type='text'>
The current MT slot protocol allows any tracking id outside the range
specified by the device to denote an unused slot. This is difficult to
handle in userspace, since the valid range is unknown. This patch
tightens the definition of a valid tracking id to always lie in the
range [0, MT_ID_MAX], and uses the value -1 to denote an unused slot.

Acked-by: Chase Douglas &lt;chase.douglas@canonical.com&gt;
Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
</content>
</entry>
<entry>
<title>Initial load of mtdev project</title>
<updated>2010-06-17T16:12:58+00:00</updated>
<author>
<name>Henrik Rydberg</name>
<email>rydberg@euromail.se</email>
</author>
<published>2010-06-17T16:12:58+00:00</published>
<link rel='alternate' type='text/html' href='https://bitmath.se/org/git/mtdev.git/commit/?id=66e5de9eaefc33ffa6af3617f9ec7a50f10af50d'/>
<id>urn:sha1:66e5de9eaefc33ffa6af3617f9ec7a50f10af50d</id>
<content type='text'>
Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
</content>
</entry>
</feed>
