diff options
author | Henrik Rydberg <rydberg@alnilam.(none)> | 2010-01-30 15:03:39 +0100 |
---|---|---|
committer | Henrik Rydberg <rydberg@alnilam.(none)> | 2010-01-30 15:03:39 +0100 |
commit | 0e711b50d648fd724a9c09da7f1f0317fdeb269f (patch) | |
tree | f02fda0238413374a5393fb3b90acb1f601d93df | |
parent | 508628ac685dba1051f024d8c09eeb8921fd3517 (diff) | |
download | xorg-input-kobomultitouch-0e711b50d648fd724a9c09da7f1f0317fdeb269f.tar.gz xorg-input-kobomultitouch-0e711b50d648fd724a9c09da7f1f0317fdeb269f.tar.bz2 xorg-input-kobomultitouch-0e711b50d648fd724a9c09da7f1f0317fdeb269f.zip |
License and credits resolved
All files are tagged as GPL, and a CREDIT file created with
references to the synaptics X driver and the matching code,
under their respective MIT and BSD licenses.
-rw-r--r-- | CREDITS | 92 | ||||
-rw-r--r-- | match/match.c | 31 | ||||
-rw-r--r-- | match/match.h | 21 | ||||
-rw-r--r-- | match/test.c | 21 | ||||
-rw-r--r-- | src/capabilities.c | 21 | ||||
-rw-r--r-- | src/capabilities.h | 21 | ||||
-rw-r--r-- | src/common.h | 21 | ||||
-rw-r--r-- | src/gestures.c | 21 | ||||
-rw-r--r-- | src/gestures.h | 21 | ||||
-rw-r--r-- | src/hwdata.c | 21 | ||||
-rw-r--r-- | src/hwdata.h | 21 | ||||
-rw-r--r-- | src/iobuffer.c | 21 | ||||
-rw-r--r-- | src/iobuffer.h | 21 | ||||
-rw-r--r-- | src/mtouch.c | 21 | ||||
-rw-r--r-- | src/mtouch.h | 21 | ||||
-rw-r--r-- | src/state.c | 21 | ||||
-rw-r--r-- | src/state.h | 21 | ||||
-rw-r--r-- | src/test.c | 21 |
18 files changed, 457 insertions, 2 deletions
@@ -0,0 +1,92 @@ +Multitouch X driver (GPL license) + +Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +--- + +The Multitouch matcher code is a modified version of the hungarian +algorithm as implemented by Markus Buehren (BSD license) + +Copyright (c) 2004, Markus Buehren +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the distribution + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +--- + +The Multitouch X driver extracts a lot of X knowledge from the +synaptics X driver (MIT license) + +Copyright (C) 1997 C. Scott Ananian +Copyright (C) 1998-2000 Bruce Kalk +Copyright (C) 1999 Henry Davies +Copyright (C) 2001 Stefan Gmeiner +Copyright (C) 2002 Linuxcare Inc. David Kennedy +Copyright (C) 2003 Fred Hucht +Copyright (C) 2003 Neil Brown +Copyright (C) 2003 Jörg Bösner +Copyright (C) 2003 Hartwig Felger +Copyright (C) 2002-2007 Peter Osterlund +Copyright (C) 2004 Arne Schwabe +Copyright (C) 2004 Matthias Ihmig +Copyright (C) 2004 Alexei Gilchrist +Copyright (C) 2006-2007 Christian Thaeter +Copyright (C) 2006 Stefan Bethge +Copyright (C) 2007 Joseph P. Skudlarek +Copyright (C) 2007 Florian Loitsch +Copyright (C) 2008 Fedor P. Goncharov +Copyright (C) 2008-2009 Red Hat, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +--- diff --git a/match/match.c b/match/match.c index 0080ee6..ebeadcd 100644 --- a/match/match.c +++ b/match/match.c @@ -1,11 +1,38 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #include "match.h" #include <string.h> #include <stdio.h> /** - * MATLAB implementation of the hungarian algorithm (2008) + * Bitmap implementation of the hungarian algorithm (GPL license) + * + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * Based on code released by Markus Buehren (2004) (BSD license) + * + * Copyright (C) 2004, Markus Buehren. All rights reserved. + * See CREDITS file for full license terms. * - * modified by Henrik Rydberg (2008) */ typedef unsigned short col_t[1]; diff --git a/match/match.h b/match/match.h index 8936de4..61ac72d 100644 --- a/match/match.h +++ b/match/match.h @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #ifndef MATCHER_H #define MATCHER_H diff --git a/match/test.c b/match/test.c index c65e581..e60e19a 100644 --- a/match/test.c +++ b/match/test.c @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #include <stdio.h> #include <time.h> #include "match.c" diff --git a/src/capabilities.c b/src/capabilities.c index 7f8a8f7..201c127 100644 --- a/src/capabilities.c +++ b/src/capabilities.c @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #include "capabilities.h" //////////////////////////////////////////////////////// diff --git a/src/capabilities.h b/src/capabilities.h index cd00353..63dada5 100644 --- a/src/capabilities.h +++ b/src/capabilities.h @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #ifndef CAPABILITIES_H #define CAPABILITIES_H diff --git a/src/common.h b/src/common.h index cbcde90..f9d9f77 100644 --- a/src/common.h +++ b/src/common.h @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #ifndef COMMON_H #define COMMON_H diff --git a/src/gestures.c b/src/gestures.c index 9a1281c..8ba32f3 100644 --- a/src/gestures.c +++ b/src/gestures.c @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #include "gestures.h" /******************************************************/ diff --git a/src/gestures.h b/src/gestures.h index 5f3923e..4b2d948 100644 --- a/src/gestures.h +++ b/src/gestures.h @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #ifndef GESTURES_H #define GESTURES_H diff --git a/src/hwdata.c b/src/hwdata.c index aa4c271..3b7c41c 100644 --- a/src/hwdata.c +++ b/src/hwdata.c @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #include "hwdata.h" /******************************************************/ diff --git a/src/hwdata.h b/src/hwdata.h index a4ecd87..1c38ed5 100644 --- a/src/hwdata.h +++ b/src/hwdata.h @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #ifndef HWDATA_H #define HWDATA_H diff --git a/src/iobuffer.c b/src/iobuffer.c index 8bfcc07..54955d6 100644 --- a/src/iobuffer.c +++ b/src/iobuffer.c @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #include "iobuffer.h" //////////////////////////////////////////////////////// diff --git a/src/iobuffer.h b/src/iobuffer.h index 41c8d0d..05f412c 100644 --- a/src/iobuffer.h +++ b/src/iobuffer.h @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #ifndef IOBUFFER_H #define IOBUFFER_H diff --git a/src/mtouch.c b/src/mtouch.c index ebe8f2a..5cb84fe 100644 --- a/src/mtouch.c +++ b/src/mtouch.c @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #include "mtouch.h" /******************************************************/ diff --git a/src/mtouch.h b/src/mtouch.h index c56e5a3..900d825 100644 --- a/src/mtouch.h +++ b/src/mtouch.h @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #ifndef MTOUCH_H #define MTOUCH_H diff --git a/src/state.c b/src/state.c index 834aeca..4c8370f 100644 --- a/src/state.c +++ b/src/state.c @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #include "state.h" #include <stdlib.h> #include <limits.h> diff --git a/src/state.h b/src/state.h index 5a59192..d8e096a 100644 --- a/src/state.h +++ b/src/state.h @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #ifndef MTEVENT_H #define MTEVENT_H @@ -1,3 +1,24 @@ +/*************************************************************************** + * + * Multitouch X driver + * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + **************************************************************************/ + #include <stdio.h> #include <time.h> |