added wheel mouse support

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@66 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Jay Sorg 2002-07-23 01:53:04 +00:00
parent 2dd151bd20
commit 2c654d76dc

View File

@ -253,6 +253,10 @@ xkeymap_translate_button(unsigned int button)
return MOUSE_FLAG_BUTTON3;
case Button3: /* right */
return MOUSE_FLAG_BUTTON2;
case Button4: /* wheel up */
return MOUSE_FLAG_BUTTON4;
case Button5: /* wheel down */
return MOUSE_FLAG_BUTTON5;
}
return 0;