From 759d6f4d86b0f232c4823f5d2f1ca640cbad5824 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sat, 13 Jul 2013 20:38:30 -0700 Subject: xorg, add keyboard driver --- xorg/server/xrdpkeyb/Makefile | 16 ++++++++++++++++ xorg/server/xrdpkeyb/rdpKeyboard.c | 22 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 xorg/server/xrdpkeyb/Makefile create mode 100644 xorg/server/xrdpkeyb/rdpKeyboard.c diff --git a/xorg/server/xrdpkeyb/Makefile b/xorg/server/xrdpkeyb/Makefile new file mode 100644 index 00000000..c8654851 --- /dev/null +++ b/xorg/server/xrdpkeyb/Makefile @@ -0,0 +1,16 @@ + +OBJS = rdpKeyboard.o + +CFLAGS = -g -O2 -Wall -fPIC -I/usr/include/xorg -I/usr/include/pixman-1 -I../module + +LDFLAGS = + +LIBS = + +all: xrdpkeyb_drv.so + +xrdpkeyb_drv.so: $(OBJS) Makefile + $(CC) -shared -o xrdpkeyb_drv.so $(LDFLAGS) $(OBJS) $(LIBS) + +clean: + rm -f $(OBJS) xrdpkeyb_drv.so diff --git a/xorg/server/xrdpkeyb/rdpKeyboard.c b/xorg/server/xrdpkeyb/rdpKeyboard.c new file mode 100644 index 00000000..fbf4eb1c --- /dev/null +++ b/xorg/server/xrdpkeyb/rdpKeyboard.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 keyboard module + +*/ -- cgit v1.2.1