From 18ed4097bf9391696ba49370a2ac5ad80a2dbe40 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sat, 13 Jul 2013 20:39:03 -0700 Subject: [PATCH] xorg, add mouse driver --- xorg/server/xrdpmouse/Makefile | 16 ++++++++++++++++ xorg/server/xrdpmouse/rdpMouse.c | 22 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 xorg/server/xrdpmouse/Makefile create mode 100644 xorg/server/xrdpmouse/rdpMouse.c 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 + +*/