Merge pull request #79 from rdesktop/revert-78-hwheel

Revert "Support horizontal scroll with mouse wheel"
This commit is contained in:
Henrik Andersson 2016-12-05 14:37:51 +01:00 committed by GitHub
commit c404034119
2 changed files with 0 additions and 6 deletions

View File

@ -245,8 +245,6 @@ enum RDP_INPUT_DEVICE
#define MOUSE_FLAG_BUTTON3 0x4000
#define MOUSE_FLAG_BUTTON4 0x0280
#define MOUSE_FLAG_BUTTON5 0x0380
#define MOUSE_FLAG_BUTTON6 0x0580
#define MOUSE_FLAG_BUTTON7 0x0480
#define MOUSE_FLAG_DOWN 0x8000
/* Raster operation masks */

View File

@ -889,10 +889,6 @@ xkeymap_translate_button(unsigned int button)
return MOUSE_FLAG_BUTTON4;
case Button5: /* wheel down */
return MOUSE_FLAG_BUTTON5;
case 6: /* wheel left */
return MOUSE_FLAG_BUTTON6;
case 7: /* wheel right */
return MOUSE_FLAG_BUTTON7;
}
return 0;