summaryrefslogtreecommitdiffstats
path: root/xorg/server/xrdpmouse
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-07-13 20:39:03 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-07-13 20:39:03 -0700
commit18ed4097bf9391696ba49370a2ac5ad80a2dbe40 (patch)
tree1196d9d9d4c4289c34b0b9005eff80331d814af0 /xorg/server/xrdpmouse
parent759d6f4d86b0f232c4823f5d2f1ca640cbad5824 (diff)
downloadxrdp-proprietary-18ed4097bf9391696ba49370a2ac5ad80a2dbe40.tar.gz
xrdp-proprietary-18ed4097bf9391696ba49370a2ac5ad80a2dbe40.zip
xorg, add mouse driver
Diffstat (limited to 'xorg/server/xrdpmouse')
-rw-r--r--xorg/server/xrdpmouse/Makefile16
-rw-r--r--xorg/server/xrdpmouse/rdpMouse.c22
2 files changed, 38 insertions, 0 deletions
diff --git a/xorg/server/xrdpmouse/Makefile b/xorg/server/xrdpmouse/Makefile
new file mode 100644
index 00000000..dfcabc88
--- /dev/null
+++ b/xorg/server/xrdpmouse/Makefile
@@ -0,0 +1,16 @@
+
+OBJS = rdpMouse.o
+
+CFLAGS = -g -O2 -Wall -fPIC -I/usr/include/xorg -I/usr/include/pixman-1 -I../module
+
+LDFLAGS =
+
+LIBS =
+
+all: xrdpmouse_drv.so
+
+xrdpmouse_drv.so: $(OBJS) Makefile
+ $(CC) -shared -o xrdpmouse_drv.so $(LDFLAGS) $(OBJS) $(LIBS)
+
+clean:
+ rm -f $(OBJS) xrdpmouse_drv.so
diff --git a/xorg/server/xrdpmouse/rdpMouse.c b/xorg/server/xrdpmouse/rdpMouse.c
new file mode 100644
index 00000000..a6cbb0f2
--- /dev/null
+++ b/xorg/server/xrdpmouse/rdpMouse.c
@@ -0,0 +1,22 @@
+/*
+Copyright 2013 Jay Sorg
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.
+
+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
+OPEN GROUP 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.
+
+xrdp mouse module
+
+*/