1 commit e5eb27494cd237e60645db4d7be5b4acf41cb5e0
2 Author: Henrik Rydberg <rydberg@euromail.se>
3 Date: Wed Aug 22 22:20:16 2012 +0200
7 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
9 commit 656d5c9d7e37a301afa3af9c2382d6b869f57ebf
10 Author: David Kozub <zub@linux.fjfi.cvut.cz>
11 Date: Tue May 29 22:53:21 2012 +0200
13 Fix pc file to allow compiling with mtdev installed in non-std path.
15 The pkgconfig file does not specify the -I flag needed to be able to
16 compile with `pkg-config mtdev --cflags` when libmtdev is installed to
17 a directory that is not searched by the C compiler by default.
19 This patch fixes the issue.
21 Signed-off-by: David Kozub <zub@linux.fjfi.cvut.cz>
22 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
24 commit 5a6773f85a77e78dbbb915e32768aa24e1c83124
25 Author: Henrik Rydberg <rydberg@euromail.se>
26 Date: Mon Feb 20 16:03:05 2012 +0100
30 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
32 commit 43ce27aab2d990e9a4f54d2050b851bd2da01875
33 Author: Henrik Rydberg <rydberg@euromail.se>
34 Date: Thu Feb 16 16:25:30 2012 +0100
36 Add support for kernel MT slot state retrieval
38 From kernel 3.4, extraction of the MT slot state is supported
39 via the EVIOGMTSLOTS ioctl. This patch initializes the slots
40 using that information.
42 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
44 commit 3ec66c3b21e45d6529567f5144ba24dcc4645591
45 Author: Henrik Rydberg <rydberg@euromail.se>
46 Date: Thu Jan 12 20:05:28 2012 +0100
48 Add the missing distance event to the internal slot representation
50 The new distance value was missing from the internal representation,
51 leading to memory corruption for devices supporting the event. Fixed
54 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
56 commit 3aa3de4c19b80caaf93812fafff20acd5f5a4d12
57 Author: Peter Hutterer <peter.hutterer@who-t.net>
58 Date: Tue Apr 19 11:45:45 2011 +0200
60 Return EINVAL for invalid parameters on mtdev_init.
62 [rydberg@euromail.se: minor cleanup]
63 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
64 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
66 commit 61684cf0466200631b6a44af1c662eb760ad3f5d
67 Author: Peter Hutterer <peter.hutterer@who-t.net>
68 Date: Tue Apr 19 11:41:04 2011 +0200
70 mtdev_close should ignore NULL devices.
72 Saves us one goto label in mtdev_init.
74 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
75 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
77 commit 9e3daba37d1d15c99a41a2d838bf683934cc7077
78 Author: Henrik Rydberg <rydberg@euromail.se>
79 Date: Wed Dec 22 18:55:09 2010 +0100
83 This version includes backwards-compatible API changes,
84 while keeping the ABI stable. Applications that want to
85 migrate to the new API, compile with -DMTDEV_NO_LEGACY_API.
87 commit ecfc435c3742546e36ec4eefd76f02584fb54192
88 Author: Henrik Rydberg <rydberg@euromail.se>
89 Date: Wed Dec 22 18:49:41 2010 +0100
91 mtdev-test: output MT event support
93 At startup, output the MT events supported by the device.
95 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
97 commit cff212dbe28487c14ab040829877d77378a61344
98 Author: Henrik Rydberg <rydberg@euromail.se>
99 Date: Wed Dec 22 18:35:53 2010 +0100
101 Add support for ABS_MT_DISTANCE
103 In the upcoming 2.6.38 kernel, support for hovering is introduced.
104 Add the ABS_MT_DISTANCE to the extended set of handled ABS_MT events.
106 The change is binary compatible with existing libraries.
108 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
110 commit 56a77e68fb91eef928d8a95c50ae14508e37ae0f
111 Author: Henrik Rydberg <rydberg@euromail.se>
112 Date: Wed Dec 22 18:29:00 2010 +0100
114 Introduce a stable ABI
116 The current mtdev is not ABI stable, and the upcoming additions
117 to the kernel api will break ABI. This patch starts the process
118 of keeping binary compatibility with old programs, by moving the
119 abi-specific parts under a special flag, MTDEV_NO_LEGACY_API,
120 and makes sure the internal parts compiles with MTDEV_NO_LEGACY_API
121 set. This way, older programs will still work, old programs will
122 still compile, and new programs will be able to use the additions.
124 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
126 commit 0e2ab3b5940e70493aaabdfe5e8da1c75db4db72
127 Author: Henrik Rydberg <rydberg@euromail.se>
128 Date: Mon Dec 20 16:49:53 2010 +0100
130 Allow use in c++ applications
132 Reported-by: Armando Visconti <armando.visconti@st.com>
133 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
135 commit db1fdc76ceb5d1bbe32c193e13eb4357da5d0b81
136 Author: Henrik Rydberg <rydberg@euromail.se>
137 Date: Sun Nov 7 18:07:07 2010 +0100
141 commit 67fdae132708889ed89e302bd63a5cb91b2c75a7
142 Author: Henrik Rydberg <rydberg@euromail.se>
143 Date: Sun Nov 7 18:04:46 2010 +0100
145 Add and test a simple kernel matcher
147 This matcher is for up to four fingers, and has these properties:
149 * Approximately 1.4 times faster at 4 fingers
150 * Approximately 4.0 times faster at 2 fingers
151 * Roughly 100 lines of code
153 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
155 commit 868f53c8a5684524bc6b1e7cd39aabed56fad9df
156 Author: Henrik Rydberg <rydberg@euromail.se>
157 Date: Sun Nov 7 17:56:56 2010 +0100
159 Generate kernel matcher data
161 This application generates the matcher tables of the tracking
162 library in the linux kernel.
164 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
166 commit 561af7f537b80f3952ab228bcc992ad75ced280b
167 Author: Henrik Rydberg <rydberg@euromail.se>
168 Date: Tue Oct 12 17:13:45 2010 +0200
170 Add mtdev-matching test program
172 Measures matching speed and provides some historically difficult
175 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
177 commit 1390859adc7fd084c5c546984d415e44bfc44ccd
178 Author: Henrik Rydberg <rydberg@euromail.se>
179 Date: Tue Sep 7 16:22:30 2010 +0200
183 commit 61632a31642ecaa7288624b0dc9887c4196cc165
184 Author: Henrik Rydberg <rydberg@bitmath.org>
185 Date: Tue Sep 7 15:54:27 2010 +0200
187 Fall back to single-touch position and pressure dimensions
189 In case mtdev is driving a non-MT device, basic dimensions are not set
190 properly. Fall back on ABS_X/Y and ABS_PRESSURE, such that basic
191 pointer operations can be supported through mtdev.
193 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
195 commit 9daa452e53d2b2f74f943bd0a50d17a311698b4f
196 Author: Henrik Rydberg <rydberg@bitmath.org>
197 Date: Tue Sep 7 15:46:31 2010 +0200
199 Install mapping and plumbing header files
201 Applications may need to know the property mapping, and the plumbing
202 interface is actually supported, so install both headers.
204 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
206 commit 676b4003302e025d10a0822357c55b97dbab3707
207 Author: Henrik Rydberg <rydberg@bitmath.org>
208 Date: Tue Sep 7 15:38:19 2010 +0200
210 Complete mtdev property mapping
212 Add the missing property values to the mapgen output, and insert the
213 result in the mtdev mapping header file.
215 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
217 commit a2ea1c9154c0d746f8c4e72425435fc017324d43
218 Author: Henrik Rydberg <rydberg@euromail.se>
219 Date: Wed Aug 18 11:06:34 2010 +0200
223 commit 810cef87de0d65e505e68ad39c469c2e9ce6d0a1
224 Author: Henrik Rydberg <rydberg@bitmath.org>
225 Date: Wed Aug 18 11:01:28 2010 +0200
227 Correct logic for kernel MT slots devices
229 This patch fixes the broken logic to detect the kernel MT slots protocol,
230 such that MT slots devices may pass through mtdev properly.
232 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
234 commit e91311dc01f970b687da4f00810cf40d3d37a5e4
235 Author: Henrik Rydberg <rydberg@euromail.se>
236 Date: Mon Aug 2 00:22:50 2010 +0200
240 commit caa4aaafe48fce11f6826ba2d0b8f1ff4f8e49cf
241 Author: Henrik Rydberg <rydberg@euromail.se>
242 Date: Mon Aug 2 01:49:03 2010 +0200
244 Remove erroneous dependency on xorg macros
246 This package has no external dependencies and should not depend
247 on the xorg macros. This patch removes the dependency, adds a tailored
248 INSTALL file, and uses git to generate the ChangeLog.
250 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
252 commit abfa51e422384d23ea0a253e5937063131fd4279
253 Author: Henrik Rydberg <rydberg@euromail.se>
254 Date: Wed Jul 21 10:09:12 2010 +0200
258 commit ae5e172ee1e2d100bee6607ab66f318a62a2ebe3
259 Author: Henrik Rydberg <rydberg@euromail.se>
260 Date: Wed Jul 21 10:08:40 2010 +0200
262 The forthcoming 2.6.36 kernel does not define the MT_SLOT_ABS_EVENTS
263 list, so make sure it is always defined in mtdev.h
265 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
267 commit 926493b33a0836931ee454cba0761f021d078078
268 Author: Henrik Rydberg <rydberg@euromail.se>
269 Date: Mon Jul 19 13:09:51 2010 +0200
273 commit d2a8e0bfda364730ba5c06be4adc783f9a889073
274 Author: Henrik Rydberg <rydberg@euromail.se>
275 Date: Mon Jul 19 13:09:10 2010 +0200
277 Change test program name to mtdev-test
279 In order to simplify packaging, rename the current mtdev
280 device test program to mtdev-test.
282 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
284 commit a6f1a4dd2c14908c6602c4c2438ef4b5cb86de99
285 Author: Henrik Rydberg <rydberg@euromail.se>
286 Date: Thu Jul 15 14:51:55 2010 +0200
290 commit 16110e89a671067ee53cb7a8bce6b6a2690b97ae
291 Author: Henrik Rydberg <rydberg@euromail.se>
292 Date: Thu Jul 15 14:51:04 2010 +0200
294 Add missing header files to sources directive
296 In order for make dist-gzip to work properly, all files needed
297 to build the system need to be listed. This patch adds the missing
298 header files to the sources directive.
300 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
302 commit 7de1f0b0bbfb4dd5b205ed74d2f8ad2ca5e663b6
303 Author: Henrik Rydberg <rydberg@euromail.se>
304 Date: Tue Jul 13 09:14:35 2010 +0200
308 commit 3557acb6a9eec0c0d752a1f3d783b5f50bc19e1b
309 Author: Peter Hutterer <peter.hutterer@who-t.net>
310 Date: Mon Jul 5 08:01:41 2010 +0200
312 Build test utilities unconditionally, do not install
314 The test programs in the package are command-line utilities which can
315 be used to generate MT code mappings for header files, and debug
316 hardware problems, and should not be installed. With this patch, tests
317 are built unconditionally, but not installed.
319 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
320 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
322 commit 8da65965093ce2515dd0ce828a6512f24f5f5ca9
323 Author: Peter Hutterer <peter.hutterer@who-t.net>
324 Date: Fri Jul 2 11:53:41 2010 +1000
326 README: add URL and email for patches.
328 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
329 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
331 commit ad07aa12a19dea8324c2cc5e1d986c636c4b6593
332 Author: Peter Hutterer <peter.hutterer@who-t.net>
333 Date: Fri Jul 2 11:51:08 2010 +1000
335 test: fix out-of-tree builds.
337 Libraries are in builddir, not sourcedir.
339 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
340 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
342 commit e1c48e0763304ae58752c29c3afb85f68bdf32fa
343 Author: Henrik Rydberg <rydberg@euromail.se>
344 Date: Thu Jun 24 21:03:42 2010 +0200
348 commit c880548a2973a52070cb583923d5edae375b7b6d
349 Author: Henrik Rydberg <rydberg@euromail.se>
350 Date: Thu Jun 24 11:39:08 2010 +0200
354 This patch adds a CREDITS file, which keeps track of historical
355 contributions affecting this library.
357 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
359 commit 1fed4b309cea8c7a0dc03f740174bd31b4b03ab5
360 Author: Henrik Rydberg <rydberg@euromail.se>
361 Date: Tue Jun 22 23:25:58 2010 +0200
363 gitignore: Ignore the patches directory
365 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
367 commit a0dc5304a856158939b52980ce5eaf7d25b67bf1
368 Author: Henrik Rydberg <rydberg@euromail.se>
369 Date: Tue Jun 22 22:42:22 2010 +0200
373 commit 0acc1d3fbacf08543c46387ed5dba6a1e2b36ec0
374 Author: Henrik Rydberg <rydberg@euromail.se>
375 Date: Tue Jun 22 22:38:58 2010 +0200
377 Update defuzz() credits
379 Correct the credits for the defuzz() function. Used under the MIT
380 license with permission from Vojtech Pavlik.
382 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
384 commit 451dbad007dc941fb7a4877238873d13245c0a65
385 Author: Chase Douglas <chase.douglas@canonical.com>
386 Date: Tue Jun 22 16:06:38 2010 -0400
388 Search for libmtdev in src/ directory during a clean build
390 If mtdev hasn't already been installed, the test binaries will fail to
391 compile because they can't find libmtdev. Point them to the src
392 directory build output.
394 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
396 commit d29155e8436e084d925fc3ed5bb1fce94bc69949
397 Author: Henrik Rydberg <rydberg@euromail.se>
398 Date: Tue Jun 22 11:55:38 2010 +0200
402 commit d4d92de224681a260de81be44374649de2bfb485
403 Author: Henrik Rydberg <rydberg@euromail.se>
404 Date: Tue Jun 22 11:55:04 2010 +0200
406 Apply new package title to all files
408 This patch changes the package description title in all relevant
409 files, and touches up the README. All systems go.
411 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
413 commit 7a5b2c37ea0b4ec81fbe8be7c1d7f9bf1731439e
414 Author: Henrik Rydberg <rydberg@euromail.se>
415 Date: Tue Jun 22 11:45:17 2010 +0200
417 Build test tools also under autoconf
419 The tests can be disabled by using --enable-test=no in configure.
421 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
423 commit 9c5128866ea65ad300b40d47a9d43998dc8bc9f4
424 Author: Henrik Rydberg <rydberg@euromail.se>
425 Date: Tue Jun 22 11:44:36 2010 +0200
427 janitor: fix compiler warnings
429 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
431 commit 0647b37dfc35145d74822844ad7e54bf5c218369
432 Author: Chase Douglas <chase.douglas@canonical.com>
433 Date: Mon Jun 21 21:08:51 2010 -0400
437 [rydberg@euromail.se: minor fixups]
438 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
439 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
441 commit 172221f14fc91ebb37aa4c561ad733088cc3c3bf
442 Author: Henrik Rydberg <rydberg@euromail.se>
443 Date: Tue Jun 22 09:19:50 2010 +0200
445 match: conform to mtdev namespace
447 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
449 commit 925ad71be727ec8da3cd71a2c1c965d336ff856f
450 Author: Henrik Rydberg <rydberg@euromail.se>
451 Date: Tue Jun 22 00:52:26 2010 +0200
455 commit ba936eddbf88b6d8f650082f6e7d2694f8addac4
456 Author: Henrik Rydberg <rydberg@euromail.se>
457 Date: Mon Jun 21 22:43:58 2010 +0200
459 Unused slot is denoted by MT_TRACKING_ID == -1
461 The current MT slot protocol allows any tracking id outside the range
462 specified by the device to denote an unused slot. This is difficult to
463 handle in userspace, since the valid range is unknown. This patch
464 tightens the definition of a valid tracking id to always lie in the
465 range [0, MT_ID_MAX], and uses the value -1 to denote an unused slot.
467 Acked-by: Chase Douglas <chase.douglas@canonical.com>
468 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
470 commit dbbf15a7fad8b76122061344aeddb652bd4fe442
471 Author: Chase Douglas <chase.douglas@canonical.com>
472 Date: Mon Jun 21 09:57:56 2010 -0400
474 mtdev_get: return number of retrieved events if error occurs
476 Otherwise, we pull events, but return -1. We should send the events we
477 were able to retrieve for now.
479 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
480 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
482 commit 922332131c329b9d444c434d68a2f21e3076ae0c
483 Author: Henrik Rydberg <rydberg@euromail.se>
484 Date: Sat Jun 19 14:21:55 2010 +0200
486 Install and uninstall all relevant files
488 Useful for testing as a standalong package.
490 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
492 commit 259b92a30280cdec2b7798df3c14da596c417ef1
493 Author: Henrik Rydberg <rydberg@euromail.se>
494 Date: Sat Jun 19 12:10:27 2010 +0200
496 Restructure mtdev api
498 Split the api into plumbing and porcelain layers and move the
499 plumbing part to its own optional header file.
501 The main usecase is to fetch events from the device, route them
502 through the converter and extract the processed events. To simplify
503 the API, replace the intermediate mtdev_pull() function by the
504 higher-level mtdev_get(). This function does all the required steps,
505 and has the same semantics as read().
507 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
509 commit 8087ac3d655c2b2835cf61e7a69611d81d4f303e
510 Author: Henrik Rydberg <rydberg@euromail.se>
511 Date: Fri Jun 18 11:51:54 2010 +0200
513 Change the matching code to the MIT license
515 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
517 commit d7f96ade2801a712dbb532ab08ec93c9558870e1
518 Author: Henrik Rydberg <rydberg@euromail.se>
519 Date: Fri Jun 18 11:28:55 2010 +0200
521 Use a non-blocking example in test/mtdev
523 The non-blocking case is more interesting for X applications.
525 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
527 commit 2752c003604e907f2a6776ff794a72845d1b5949
528 Author: Henrik Rydberg <rydberg@euromail.se>
529 Date: Fri Jun 18 11:24:24 2010 +0200
531 Correct minor semantic documentation error in mtdev_close()
533 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
535 commit 0463e0bcc262c7a4709b43312f15adaaaaaa88f9
536 Author: Henrik Rydberg <rydberg@euromail.se>
537 Date: Fri Jun 18 01:41:14 2010 +0200
539 janitor: fix spelling error
541 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
543 commit 309df849b8ad3772b912d498eacda9f38a6e4f1e
544 Author: Henrik Rydberg <rydberg@euromail.se>
545 Date: Fri Jun 18 01:39:40 2010 +0200
547 Correct semantic error in mtdev_idle
549 The current semantics, that a non-empty conversion pipe means
550 the device is not idle, is not very useful. This patch changes
551 the semantics to simply checking if the fetch buffer is empty,
552 and if there are no events to fetch from the device.
554 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
556 commit d62c625535494361b8ba0a004a1d24ce485f0b59
557 Author: Henrik Rydberg <rydberg@euromail.se>
558 Date: Fri Jun 18 01:35:28 2010 +0200
560 Allow max_events to be zero in mtdev_pull()
562 When reading from non-blocking devices, it makes sense to read
563 all events available. This patch lets a zero max_events achieve that.
565 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
567 commit c9c4f4cda362679567bc4bc04ffedc5d984e2329
568 Author: Henrik Rydberg <rydberg@euromail.se>
569 Date: Fri Jun 18 01:32:43 2010 +0200
571 Rectify argument order in mtdev_fetch
573 The argument order in mtdev_fetch() differs from all other
574 usages involved the file descriptor. Fixed with this patch.
576 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
578 commit d4704c0d6d70a2815c5ca12d74ba11cc7be69e20
579 Author: Henrik Rydberg <rydberg@euromail.se>
580 Date: Fri Jun 18 01:28:43 2010 +0200
582 make: Correct bad library name
584 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
586 commit ba07cbb24bd226ead1f8f96b0e969822aa734076
587 Author: Henrik Rydberg <rydberg@euromail.se>
588 Date: Thu Jun 17 21:41:26 2010 +0200
590 Output both a static and a dynamic library
592 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
594 commit 7d392652bae52b76cb5fe907cc1e86e0e0c4ced9
595 Author: Henrik Rydberg <rydberg@euromail.se>
596 Date: Thu Jun 17 20:15:44 2010 +0200
600 This patch adds the mtdev_idle() function, which checks the kernel
601 device for activity. Useful when implementing timing logic.
603 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
605 commit 6a8c74eb36ab93702c257f425832272cccb0cde8
606 Author: Henrik Rydberg <rydberg@euromail.se>
607 Date: Thu Jun 17 18:18:22 2010 +0200
609 Name dynamic library correctly
611 To simplify dynamic library usage, name the libary correctly
612 and put it in /usr/lib/.
614 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
616 commit 66e5de9eaefc33ffa6af3617f9ec7a50f10af50d
617 Author: Henrik Rydberg <rydberg@euromail.se>
618 Date: Thu Jun 17 18:12:58 2010 +0200
620 Initial load of mtdev project
622 Signed-off-by: Henrik Rydberg <rydberg@euromail.se>