<blockquote>
<p>Probably because Windows can't know, how much distance would a single wheel click scroll.</p>
</blockquote>
<p>If I remember correctly, applications just get a blast of scroll events, so I suppose in theory it could send the number of events relative to the distance traveled by the finger during scroll. Just a guess though.</p>
<blockquote>
<p>I have done it to FreeCAD (Qt4), see <a href="https://github.com/FreeCAD/FreeCAD/blob/47536dcd3729d3db106af628d62f2bf449e68c49/src/Gui/WinNativeGestureRecognizers.cpp#L236">https://github.com/FreeCAD/FreeCAD/blob/47536dcd3729d3db106af628d62f2bf449e68c49/src/Gui/WinNativeGestureRecognizers.cpp#L236</a></p>
</blockquote>
<p>That'd probably work in Geany too then, since it's just native win32 stuff. We keep all that cruft in <a href="https://github.com/geany/geany/blob/master/src/win32.c">this file</a> if you want to give it a try. I won't work on this myself unless someone wants to send me a new monitor for free :)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1977#issuecomment-430048307">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJxmf1MiCzvzsPLbAZjLHPLO2OLmWks5ulRl4gaJpZM4XbWg_">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ_s08UndwmAIc9xnrfqSnzotp-TBks5ulRl4gaJpZM4XbWg_.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@codebrainz in #1977: \u003e Probably because Windows can't know, how much distance would a single wheel click scroll.\r\n\r\nIf I remember correctly, applications just get a blast of scroll events, so I suppose in theory it could send the number of events relative to the distance traveled by the finger during scroll. Just a guess though.\r\n\r\n\u003e I have done it to FreeCAD (Qt4), see https://github.com/FreeCAD/FreeCAD/blob/47536dcd3729d3db106af628d62f2bf449e68c49/src/Gui/WinNativeGestureRecognizers.cpp#L236\r\n\r\nThat'd probably work in Geany too then, since it's just native win32 stuff. We keep all that cruft in [this file](https://github.com/geany/geany/blob/master/src/win32.c) if you want to give it a try. I won't work on this myself unless someone wants to send me a new monitor for free :)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1977#issuecomment-430048307"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1977#issuecomment-430048307",
"url": "https://github.com/geany/geany/issues/1977#issuecomment-430048307",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [geany/geany] Touchscreen support on Windows! (#1977)",
"sections": [
{
"text": "",
"activityTitle": "**Matthew Brush**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@codebrainz",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1977,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1977\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/issues/1977#issuecomment-430048307"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 393046079\n}"
}
],
"themeColor": "26292E"
}
]</script>