aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/DesktopWindow.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-03-09 13:28:12 +0000
committerPierre Ossman <ossman@cendio.se>2011-03-09 13:28:12 +0000
commitd014d05c26c5b0c5c83cf856933aadf4fd153f5c (patch)
tree452ce4561542ce0b6974ac52b6b6a7a3dae4af15 /vncviewer/DesktopWindow.h
parent3d5d8a0971c1cc7de57a85db4979c914b0f8e04a (diff)
downloadtigervnc-d014d05c26c5b0c5c83cf856933aadf4fd153f5c.tar.gz
tigervnc-d014d05c26c5b0c5c83cf856933aadf4fd153f5c.zip
Initial stab at keyboard support. Lots of corner case to work out though...
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4349 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/DesktopWindow.h')
-rw-r--r--vncviewer/DesktopWindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vncviewer/DesktopWindow.h b/vncviewer/DesktopWindow.h
index ba308c05..241629f7 100644
--- a/vncviewer/DesktopWindow.h
+++ b/vncviewer/DesktopWindow.h
@@ -100,6 +100,8 @@ private:
void handlePointerEvent(const rfb::Point& pos, int buttonMask);
static void handlePointerTimeout(void *data);
+ void handleKeyEvent(int keyCode, const char *keyText, bool down);
+
private:
CConn* cc;
@@ -112,6 +114,8 @@ private:
rfb::Point lastPointerPos;
int lastButtonMask;
+
+ rdr::U32 downKeySym[65536];
};
#endif