1 commit db1fdc76ceb5d1bbe32c193e13eb4357da5d0b81
2 Author: Henrik Rydberg <rydberg@euromail.se>
3 Date: Sun Nov 7 18:07:07 2010 +0100
7 commit 67fdae132708889ed89e302bd63a5cb91b2c75a7
8 Author: Henrik Rydberg <rydberg@euromail.se>
9 Date: Sun Nov 7 18:04:46 2010 +0100
11 Add and test a simple kernel matcher
13 This matcher is for up to four fingers, and has these properties:
15 * Approximately 1.4 times faster at 4 fingers
16 * Approximately 4.0 times faster at 2 fingers
17 * Roughly 100 lines of code
19 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
21 commit 868f53c8a5684524bc6b1e7cd39aabed56fad9df
22 Author: Henrik Rydberg <rydberg@euromail.se>
23 Date: Sun Nov 7 17:56:56 2010 +0100
25 Generate kernel matcher data
27 This application generates the matcher tables of the tracking
28 library in the linux kernel.
30 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
32 commit 561af7f537b80f3952ab228bcc992ad75ced280b
33 Author: Henrik Rydberg <rydberg@euromail.se>
34 Date: Tue Oct 12 17:13:45 2010 +0200
36 Add mtdev-matching test program
38 Measures matching speed and provides some historically difficult
41 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
43 commit 1390859adc7fd084c5c546984d415e44bfc44ccd
44 Author: Henrik Rydberg <rydberg@euromail.se>
45 Date: Tue Sep 7 16:22:30 2010 +0200
49 commit 61632a31642ecaa7288624b0dc9887c4196cc165
50 Author: Henrik Rydberg <rydberg@bitmath.org>
51 Date: Tue Sep 7 15:54:27 2010 +0200
53 Fall back to single-touch position and pressure dimensions
55 In case mtdev is driving a non-MT device, basic dimensions are not set
56 properly. Fall back on ABS_X/Y and ABS_PRESSURE, such that basic
57 pointer operations can be supported through mtdev.
59 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
61 commit 9daa452e53d2b2f74f943bd0a50d17a311698b4f
62 Author: Henrik Rydberg <rydberg@bitmath.org>
63 Date: Tue Sep 7 15:46:31 2010 +0200
65 Install mapping and plumbing header files
67 Applications may need to know the property mapping, and the plumbing
68 interface is actually supported, so install both headers.
70 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
72 commit 676b4003302e025d10a0822357c55b97dbab3707
73 Author: Henrik Rydberg <rydberg@bitmath.org>
74 Date: Tue Sep 7 15:38:19 2010 +0200
76 Complete mtdev property mapping
78 Add the missing property values to the mapgen output, and insert the
79 result in the mtdev mapping header file.
81 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
83 commit a2ea1c9154c0d746f8c4e72425435fc017324d43
84 Author: Henrik Rydberg <rydberg@euromail.se>
85 Date: Wed Aug 18 11:06:34 2010 +0200
89 commit 810cef87de0d65e505e68ad39c469c2e9ce6d0a1
90 Author: Henrik Rydberg <rydberg@bitmath.org>
91 Date: Wed Aug 18 11:01:28 2010 +0200
93 Correct logic for kernel MT slots devices
95 This patch fixes the broken logic to detect the kernel MT slots protocol,
96 such that MT slots devices may pass through mtdev properly.
98 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
100 commit e91311dc01f970b687da4f00810cf40d3d37a5e4
101 Author: Henrik Rydberg <rydberg@euromail.se>
102 Date: Mon Aug 2 00:22:50 2010 +0200
106 commit caa4aaafe48fce11f6826ba2d0b8f1ff4f8e49cf
107 Author: Henrik Rydberg <rydberg@euromail.se>
108 Date: Mon Aug 2 01:49:03 2010 +0200
110 Remove erroneous dependency on xorg macros
112 This package has no external dependencies and should not depend
113 on the xorg macros. This patch removes the dependency, adds a tailored
114 INSTALL file, and uses git to generate the ChangeLog.
116 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
118 commit abfa51e422384d23ea0a253e5937063131fd4279
119 Author: Henrik Rydberg <rydberg@euromail.se>
120 Date: Wed Jul 21 10:09:12 2010 +0200
124 commit ae5e172ee1e2d100bee6607ab66f318a62a2ebe3
125 Author: Henrik Rydberg <rydberg@euromail.se>
126 Date: Wed Jul 21 10:08:40 2010 +0200
128 The forthcoming 2.6.36 kernel does not define the MT_SLOT_ABS_EVENTS
129 list, so make sure it is always defined in mtdev.h
131 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
133 commit 926493b33a0836931ee454cba0761f021d078078
134 Author: Henrik Rydberg <rydberg@euromail.se>
135 Date: Mon Jul 19 13:09:51 2010 +0200
139 commit d2a8e0bfda364730ba5c06be4adc783f9a889073
140 Author: Henrik Rydberg <rydberg@euromail.se>
141 Date: Mon Jul 19 13:09:10 2010 +0200
143 Change test program name to mtdev-test
145 In order to simplify packaging, rename the current mtdev
146 device test program to mtdev-test.
148 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
150 commit a6f1a4dd2c14908c6602c4c2438ef4b5cb86de99
151 Author: Henrik Rydberg <rydberg@euromail.se>
152 Date: Thu Jul 15 14:51:55 2010 +0200
156 commit 16110e89a671067ee53cb7a8bce6b6a2690b97ae
157 Author: Henrik Rydberg <rydberg@euromail.se>
158 Date: Thu Jul 15 14:51:04 2010 +0200
160 Add missing header files to sources directive
162 In order for make dist-gzip to work properly, all files needed
163 to build the system need to be listed. This patch adds the missing
164 header files to the sources directive.
166 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
168 commit 7de1f0b0bbfb4dd5b205ed74d2f8ad2ca5e663b6
169 Author: Henrik Rydberg <rydberg@euromail.se>
170 Date: Tue Jul 13 09:14:35 2010 +0200
174 commit 3557acb6a9eec0c0d752a1f3d783b5f50bc19e1b
175 Author: Peter Hutterer <peter.hutterer@who-t.net>
176 Date: Mon Jul 5 08:01:41 2010 +0200
178 Build test utilities unconditionally, do not install
180 The test programs in the package are command-line utilities which can
181 be used to generate MT code mappings for header files, and debug
182 hardware problems, and should not be installed. With this patch, tests
183 are built unconditionally, but not installed.
185 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
186 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
188 commit 8da65965093ce2515dd0ce828a6512f24f5f5ca9
189 Author: Peter Hutterer <peter.hutterer@who-t.net>
190 Date: Fri Jul 2 11:53:41 2010 +1000
192 README: add URL and email for patches.
194 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
195 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
197 commit ad07aa12a19dea8324c2cc5e1d986c636c4b6593
198 Author: Peter Hutterer <peter.hutterer@who-t.net>
199 Date: Fri Jul 2 11:51:08 2010 +1000
201 test: fix out-of-tree builds.
203 Libraries are in builddir, not sourcedir.
205 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
206 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
208 commit e1c48e0763304ae58752c29c3afb85f68bdf32fa
209 Author: Henrik Rydberg <rydberg@euromail.se>
210 Date: Thu Jun 24 21:03:42 2010 +0200
214 commit c880548a2973a52070cb583923d5edae375b7b6d
215 Author: Henrik Rydberg <rydberg@euromail.se>
216 Date: Thu Jun 24 11:39:08 2010 +0200
220 This patch adds a CREDITS file, which keeps track of historical
221 contributions affecting this library.
223 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
225 commit 1fed4b309cea8c7a0dc03f740174bd31b4b03ab5
226 Author: Henrik Rydberg <rydberg@euromail.se>
227 Date: Tue Jun 22 23:25:58 2010 +0200
229 gitignore: Ignore the patches directory
231 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
233 commit a0dc5304a856158939b52980ce5eaf7d25b67bf1
234 Author: Henrik Rydberg <rydberg@euromail.se>
235 Date: Tue Jun 22 22:42:22 2010 +0200
239 commit 0acc1d3fbacf08543c46387ed5dba6a1e2b36ec0
240 Author: Henrik Rydberg <rydberg@euromail.se>
241 Date: Tue Jun 22 22:38:58 2010 +0200
243 Update defuzz() credits
245 Correct the credits for the defuzz() function. Used under the MIT
246 license with permission from Vojtech Pavlik.
248 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
250 commit 451dbad007dc941fb7a4877238873d13245c0a65
251 Author: Chase Douglas <chase.douglas@canonical.com>
252 Date: Tue Jun 22 16:06:38 2010 -0400
254 Search for libmtdev in src/ directory during a clean build
256 If mtdev hasn't already been installed, the test binaries will fail to
257 compile because they can't find libmtdev. Point them to the src
258 directory build output.
260 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
262 commit d29155e8436e084d925fc3ed5bb1fce94bc69949
263 Author: Henrik Rydberg <rydberg@euromail.se>
264 Date: Tue Jun 22 11:55:38 2010 +0200
268 commit d4d92de224681a260de81be44374649de2bfb485
269 Author: Henrik Rydberg <rydberg@euromail.se>
270 Date: Tue Jun 22 11:55:04 2010 +0200
272 Apply new package title to all files
274 This patch changes the package description title in all relevant
275 files, and touches up the README. All systems go.
277 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
279 commit 7a5b2c37ea0b4ec81fbe8be7c1d7f9bf1731439e
280 Author: Henrik Rydberg <rydberg@euromail.se>
281 Date: Tue Jun 22 11:45:17 2010 +0200
283 Build test tools also under autoconf
285 The tests can be disabled by using --enable-test=no in configure.
287 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
289 commit 9c5128866ea65ad300b40d47a9d43998dc8bc9f4
290 Author: Henrik Rydberg <rydberg@euromail.se>
291 Date: Tue Jun 22 11:44:36 2010 +0200
293 janitor: fix compiler warnings
295 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
297 commit 0647b37dfc35145d74822844ad7e54bf5c218369
298 Author: Chase Douglas <chase.douglas@canonical.com>
299 Date: Mon Jun 21 21:08:51 2010 -0400
303 [rydberg@euromail.se: minor fixups]
304 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
305 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
307 commit 172221f14fc91ebb37aa4c561ad733088cc3c3bf
308 Author: Henrik Rydberg <rydberg@euromail.se>
309 Date: Tue Jun 22 09:19:50 2010 +0200
311 match: conform to mtdev namespace
313 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
315 commit 925ad71be727ec8da3cd71a2c1c965d336ff856f
316 Author: Henrik Rydberg <rydberg@euromail.se>
317 Date: Tue Jun 22 00:52:26 2010 +0200
321 commit ba936eddbf88b6d8f650082f6e7d2694f8addac4
322 Author: Henrik Rydberg <rydberg@euromail.se>
323 Date: Mon Jun 21 22:43:58 2010 +0200
325 Unused slot is denoted by MT_TRACKING_ID == -1
327 The current MT slot protocol allows any tracking id outside the range
328 specified by the device to denote an unused slot. This is difficult to
329 handle in userspace, since the valid range is unknown. This patch
330 tightens the definition of a valid tracking id to always lie in the
331 range [0, MT_ID_MAX], and uses the value -1 to denote an unused slot.
333 Acked-by: Chase Douglas <chase.douglas@canonical.com>
334 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
336 commit dbbf15a7fad8b76122061344aeddb652bd4fe442
337 Author: Chase Douglas <chase.douglas@canonical.com>
338 Date: Mon Jun 21 09:57:56 2010 -0400
340 mtdev_get: return number of retrieved events if error occurs
342 Otherwise, we pull events, but return -1. We should send the events we
343 were able to retrieve for now.
345 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
346 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
348 commit 922332131c329b9d444c434d68a2f21e3076ae0c
349 Author: Henrik Rydberg <rydberg@euromail.se>
350 Date: Sat Jun 19 14:21:55 2010 +0200
352 Install and uninstall all relevant files
354 Useful for testing as a standalong package.
356 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
358 commit 259b92a30280cdec2b7798df3c14da596c417ef1
359 Author: Henrik Rydberg <rydberg@euromail.se>
360 Date: Sat Jun 19 12:10:27 2010 +0200
362 Restructure mtdev api
364 Split the api into plumbing and porcelain layers and move the
365 plumbing part to its own optional header file.
367 The main usecase is to fetch events from the device, route them
368 through the converter and extract the processed events. To simplify
369 the API, replace the intermediate mtdev_pull() function by the
370 higher-level mtdev_get(). This function does all the required steps,
371 and has the same semantics as read().
373 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
375 commit 8087ac3d655c2b2835cf61e7a69611d81d4f303e
376 Author: Henrik Rydberg <rydberg@euromail.se>
377 Date: Fri Jun 18 11:51:54 2010 +0200
379 Change the matching code to the MIT license
381 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
383 commit d7f96ade2801a712dbb532ab08ec93c9558870e1
384 Author: Henrik Rydberg <rydberg@euromail.se>
385 Date: Fri Jun 18 11:28:55 2010 +0200
387 Use a non-blocking example in test/mtdev
389 The non-blocking case is more interesting for X applications.
391 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
393 commit 2752c003604e907f2a6776ff794a72845d1b5949
394 Author: Henrik Rydberg <rydberg@euromail.se>
395 Date: Fri Jun 18 11:24:24 2010 +0200
397 Correct minor semantic documentation error in mtdev_close()
399 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
401 commit 0463e0bcc262c7a4709b43312f15adaaaaaa88f9
402 Author: Henrik Rydberg <rydberg@euromail.se>
403 Date: Fri Jun 18 01:41:14 2010 +0200
405 janitor: fix spelling error
407 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
409 commit 309df849b8ad3772b912d498eacda9f38a6e4f1e
410 Author: Henrik Rydberg <rydberg@euromail.se>
411 Date: Fri Jun 18 01:39:40 2010 +0200
413 Correct semantic error in mtdev_idle
415 The current semantics, that a non-empty conversion pipe means
416 the device is not idle, is not very useful. This patch changes
417 the semantics to simply checking if the fetch buffer is empty,
418 and if there are no events to fetch from the device.
420 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
422 commit d62c625535494361b8ba0a004a1d24ce485f0b59
423 Author: Henrik Rydberg <rydberg@euromail.se>
424 Date: Fri Jun 18 01:35:28 2010 +0200
426 Allow max_events to be zero in mtdev_pull()
428 When reading from non-blocking devices, it makes sense to read
429 all events available. This patch lets a zero max_events achieve that.
431 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
433 commit c9c4f4cda362679567bc4bc04ffedc5d984e2329
434 Author: Henrik Rydberg <rydberg@euromail.se>
435 Date: Fri Jun 18 01:32:43 2010 +0200
437 Rectify argument order in mtdev_fetch
439 The argument order in mtdev_fetch() differs from all other
440 usages involved the file descriptor. Fixed with this patch.
442 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
444 commit d4704c0d6d70a2815c5ca12d74ba11cc7be69e20
445 Author: Henrik Rydberg <rydberg@euromail.se>
446 Date: Fri Jun 18 01:28:43 2010 +0200
448 make: Correct bad library name
450 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
452 commit ba07cbb24bd226ead1f8f96b0e969822aa734076
453 Author: Henrik Rydberg <rydberg@euromail.se>
454 Date: Thu Jun 17 21:41:26 2010 +0200
456 Output both a static and a dynamic library
458 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
460 commit 7d392652bae52b76cb5fe907cc1e86e0e0c4ced9
461 Author: Henrik Rydberg <rydberg@euromail.se>
462 Date: Thu Jun 17 20:15:44 2010 +0200
466 This patch adds the mtdev_idle() function, which checks the kernel
467 device for activity. Useful when implementing timing logic.
469 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
471 commit 6a8c74eb36ab93702c257f425832272cccb0cde8
472 Author: Henrik Rydberg <rydberg@euromail.se>
473 Date: Thu Jun 17 18:18:22 2010 +0200
475 Name dynamic library correctly
477 To simplify dynamic library usage, name the libary correctly
478 and put it in /usr/lib/.
480 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
482 commit 66e5de9eaefc33ffa6af3617f9ec7a50f10af50d
483 Author: Henrik Rydberg <rydberg@euromail.se>
484 Date: Thu Jun 17 18:12:58 2010 +0200
486 Initial load of mtdev project
488 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>