diff options
author | dscho <dscho> | 2008-02-02 03:57:12 +0000 |
---|---|---|
committer | dscho <dscho> | 2008-02-02 03:57:12 +0000 |
commit | e526c4816bad7f5ce4233c4894fdc2f56a23e0d7 (patch) | |
tree | 3580bb14942dad6d9f96e6ccffde7df0beb00b45 | |
parent | 2530c5fa4cc468207180329c79fc74a0fa4e016d (diff) | |
download | libtdevnc-e526c481.tar.gz libtdevnc-e526c481.zip |
SDLvncviewer: fix button handling
For some reason, I swapped buttons 2 and 3 on Dec 7, 2005, in commit
"translate keys based on unicode (much more reliable than sym)".
I do not remember why, nor what I smoked, but this was wrong.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | client_examples/SDLvncviewer.c | 4 |
3 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2008-02-02 Johannes E. Schindelin <Johannes.Schindelin@gmx.de> + * client_examples/SDLvncviewer.c: fix buttons (2 & 3 were switched), + fix Tab key, and fix Ctrl+<letter> + 2008-01-29 Christian Ehrlicher <Ch.Ehrlicher@gmx.de> * libvncserver/rfbserver.c: add missing #include <time.h> @@ -4,7 +4,6 @@ immediate: Implement ZYWRLE decoding in libvncclient make SDLvncviewer more versatile (test for missing keys, introduce scrollbars, make scrollable with 2xCtrl and mouse drag) - - 2nd and 3rd mouse button are switched Clean up ZRLE (probably not thread-safe: zrleBeforeBuf, zrlePaletteHelper) style fixes: use Linux' coding guidelines & ANSIfy tightvnc-filetransfer: discuss on list diff --git a/client_examples/SDLvncviewer.c b/client_examples/SDLvncviewer.c index 4154887..8a006fd 100644 --- a/client_examples/SDLvncviewer.c +++ b/client_examples/SDLvncviewer.c @@ -3,8 +3,8 @@ struct { int sdl; int rfb; } buttonMapping[]={ {1, rfbButton1Mask}, - {3, rfbButton2Mask}, - {2, rfbButton3Mask}, + {2, rfbButton2Mask}, + {3, rfbButton3Mask}, {0,0} }; |