Commit e526c481 authored by dscho's avatar dscho

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: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 2530c5fa
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
......
......@@ -3,8 +3,8 @@
struct { int sdl; int rfb; } buttonMapping[]={
{1, rfbButton1Mask},
{3, rfbButton2Mask},
{2, rfbButton3Mask},
{2, rfbButton2Mask},
{3, rfbButton3Mask},
{0,0}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment