summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-07-13 20:38:30 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-07-13 20:38:30 -0700
commit759d6f4d86b0f232c4823f5d2f1ca640cbad5824 (patch)
treecf791d95241ac0c98780a5c3879fc72696e42e1e
parent0ff197f30c096e4fad52fd5722f0c40e012c42c7 (diff)
downloadxrdp-proprietary-759d6f4d86b0f232c4823f5d2f1ca640cbad5824.tar.gz
xrdp-proprietary-759d6f4d86b0f232c4823f5d2f1ca640cbad5824.zip
xorg, add keyboard driver
-rw-r--r--xorg/server/xrdpkeyb/Makefile16
-rw-r--r--xorg/server/xrdpkeyb/rdpKeyboard.c22
2 files changed, 38 insertions, 0 deletions
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
+
+*/