Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mac/Win: Fix interpretation of Shift+scroll wheel
On macOS and Windows, horizontal scroll wheel events are communicated to applications as vertical scroll wheel events with the Shift key held down, but no corresponding Shift key press or release occurs. Because some Un*x applications and window managers use Shift + vertical scroll wheel events, we need to distinguish horizontal scroll wheel events from vertical scroll wheel events with an actual Shift key press. CConn.isKeyPressed() to the rescue. (regression introduced by 5f3218e) Fixes #437
- Loading branch information