summaryrefslogtreecommitdiff
path: root/src/KeySend.h
diff options
context:
space:
mode:
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