summaryrefslogtreecommitdiff
path: root/src/KeySend.h
diff options
context:
space:
mode:
authorDenis Oliver Kropp <dok@directfb.org>2010-10-20 14:21:42 +0200
committerDenis Oliver Kropp <dok@directfb.org>2010-10-20 14:21:42 +0200
commit7719ed93e940f3e2c392e770a3605766530a7e3a (patch)
treeba6dafefb1f0abab3b5f2e8c8736919040be3ea7 /src/KeySend.h
parent27d1e03d7bdf8fcfe7292c06e40bc3e2fca9158e (diff)
downloadpluggit-7719ed93e940f3e2c392e770a3605766530a7e3a.tar.gz
pluggit-7719ed93e940f3e2c392e770a3605766530a7e3a.tar.bz2
pluggit-7719ed93e940f3e2c392e770a3605766530a7e3a.zip
vnchooks broken version
Diffstat (limited to 'src/KeySend.h')
-rw-r--r--src/KeySend.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/KeySend.h b/src/KeySend.h
new file mode 100644
index 0000000..463875b
--- /dev/null
+++ b/src/KeySend.h
@@ -0,0 +1,24 @@
+#ifndef __KEYSEND_f493f2a0_8f4b_11df_a4ee_0800200c9a66__
+#define __KEYSEND_f493f2a0_8f4b_11df_a4ee_0800200c9a66__
+
+
+class CKeySend
+{
+public:
+ CKeySend();
+ ~CKeySend();
+
+public:
+ static void SendKeyDown(unsigned char bVk);
+ static void SendKeyUp(unsigned char bVk);
+ static void KeyboardEvent(unsigned char bVk, unsigned char bScan, unsigned long dwFlags);
+
+public:
+ static int MapDfbKeyEventToVK(unsigned short symbol);
+
+private:
+ static bool IsVkExtended(unsigned char bVk);
+};
+
+
+#endif