summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CREDITS92
-rw-r--r--match/match.c31
-rw-r--r--match/match.h21
-rw-r--r--match/test.c21
-rw-r--r--src/capabilities.c21
-rw-r--r--src/capabilities.h21
-rw-r--r--src/common.h21
-rw-r--r--src/gestures.c21
-rw-r--r--src/gestures.h21
-rw-r--r--src/hwdata.c21
-rw-r--r--src/hwdata.h21
-rw-r--r--src/iobuffer.c21
-rw-r--r--src/iobuffer.h21
-rw-r--r--src/mtouch.c21
-rw-r--r--src/mtouch.h21
-rw-r--r--src/state.c21
-rw-r--r--src/state.h21
-rw-r--r--src/test.c21
18 files changed, 457 insertions, 2 deletions
diff --git a/CREDITS b/CREDITS
new file mode 100644
index 0000000..215363a
--- /dev/null
+++ b/CREDITS
@@ -0,0 +1,92 @@
1Multitouch X driver (GPL license)
2
3Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
4
5This program is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation; either version 2 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software
17Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19---
20
21The Multitouch matcher code is a modified version of the hungarian
22algorithm as implemented by Markus Buehren (BSD license)
23
24Copyright (c) 2004, Markus Buehren
25All rights reserved.
26
27Redistribution and use in source and binary forms, with or without
28modification, are permitted provided that the following conditions are
29met:
30
31 * Redistributions of source code must retain the above copyright
32 notice, this list of conditions and the following disclaimer.
33 * Redistributions in binary form must reproduce the above copyright
34 notice, this list of conditions and the following disclaimer in
35 the documentation and/or other materials provided with the distribution
36
37THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
38AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
39IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
40ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
41LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
42CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
43SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
44INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
45CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
46ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
47POSSIBILITY OF SUCH DAMAGE.
48
49---
50
51The Multitouch X driver extracts a lot of X knowledge from the
52synaptics X driver (MIT license)
53
54Copyright (C) 1997 C. Scott Ananian
55Copyright (C) 1998-2000 Bruce Kalk
56Copyright (C) 1999 Henry Davies
57Copyright (C) 2001 Stefan Gmeiner
58Copyright (C) 2002 Linuxcare Inc. David Kennedy
59Copyright (C) 2003 Fred Hucht
60Copyright (C) 2003 Neil Brown
61Copyright (C) 2003 Jörg Bösner
62Copyright (C) 2003 Hartwig Felger
63Copyright (C) 2002-2007 Peter Osterlund
64Copyright (C) 2004 Arne Schwabe
65Copyright (C) 2004 Matthias Ihmig
66Copyright (C) 2004 Alexei Gilchrist
67Copyright (C) 2006-2007 Christian Thaeter
68Copyright (C) 2006 Stefan Bethge
69Copyright (C) 2007 Joseph P. Skudlarek
70Copyright (C) 2007 Florian Loitsch
71Copyright (C) 2008 Fedor P. Goncharov
72Copyright (C) 2008-2009 Red Hat, Inc.
73
74Permission is hereby granted, free of charge, to any person obtaining a copy
75of this software and associated documentation files (the "Software"), to deal
76in the Software without restriction, including without limitation the rights
77to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
78copies of the Software, and to permit persons to whom the Software is
79furnished to do so, subject to the following conditions:
80
81The above copyright notice and this permission notice shall be included in
82all copies or substantial portions of the Software.
83
84THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
85IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
86FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
87AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
88LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
89OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
90THE SOFTWARE.
91
92---
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#include "match.h" 22#include "match.h"
2#include <string.h> 23#include <string.h>
3#include <stdio.h> 24#include <stdio.h>
4 25
5/** 26/**
6 * MATLAB implementation of the hungarian algorithm (2008) 27 * Bitmap implementation of the hungarian algorithm (GPL license)
28 *
29 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
30 *
31 * Based on code released by Markus Buehren (2004) (BSD license)
32 *
33 * Copyright (C) 2004, Markus Buehren. All rights reserved.
34 * See CREDITS file for full license terms.
7 * 35 *
8 * modified by Henrik Rydberg (2008)
9 */ 36 */
10 37
11typedef unsigned short col_t[1]; 38typedef 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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#ifndef MATCHER_H 22#ifndef MATCHER_H
2#define MATCHER_H 23#define MATCHER_H
3 24
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#include <stdio.h> 22#include <stdio.h>
2#include <time.h> 23#include <time.h>
3#include "match.c" 24#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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#include "capabilities.h" 22#include "capabilities.h"
2 23
3//////////////////////////////////////////////////////// 24////////////////////////////////////////////////////////
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#ifndef CAPABILITIES_H 22#ifndef CAPABILITIES_H
2#define CAPABILITIES_H 23#define CAPABILITIES_H
3 24
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#ifndef COMMON_H 22#ifndef COMMON_H
2#define COMMON_H 23#define COMMON_H
3 24
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#include "gestures.h" 22#include "gestures.h"
2 23
3/******************************************************/ 24/******************************************************/
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#ifndef GESTURES_H 22#ifndef GESTURES_H
2#define GESTURES_H 23#define GESTURES_H
3 24
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#include "hwdata.h" 22#include "hwdata.h"
2 23
3/******************************************************/ 24/******************************************************/
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#ifndef HWDATA_H 22#ifndef HWDATA_H
2#define HWDATA_H 23#define HWDATA_H
3 24
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#include "iobuffer.h" 22#include "iobuffer.h"
2 23
3//////////////////////////////////////////////////////// 24////////////////////////////////////////////////////////
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#ifndef IOBUFFER_H 22#ifndef IOBUFFER_H
2#define IOBUFFER_H 23#define IOBUFFER_H
3 24
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#include "mtouch.h" 22#include "mtouch.h"
2 23
3/******************************************************/ 24/******************************************************/
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#ifndef MTOUCH_H 22#ifndef MTOUCH_H
2#define MTOUCH_H 23#define MTOUCH_H
3 24
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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#include "state.h" 22#include "state.h"
2#include <stdlib.h> 23#include <stdlib.h>
3#include <limits.h> 24#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 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#ifndef MTEVENT_H 22#ifndef MTEVENT_H
2#define MTEVENT_H 23#define MTEVENT_H
3 24
diff --git a/src/test.c b/src/test.c
index 20f35c6..82e30e6 100644
--- a/src/test.c
+++ b/src/test.c
@@ -1,3 +1,24 @@
1/***************************************************************************
2 *
3 * Multitouch X driver
4 * Copyright (C) 2008 Henrik Rydberg <rydberg@euromail.se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 **************************************************************************/
21
1#include <stdio.h> 22#include <stdio.h>
2#include <time.h> 23#include <time.h>
3 24