Open christiansiewert opened 6 years ago
If I recall correctly the mouse wheel are just two more buttons, so it should already be possible. But I'm currently not at my computer so I can't check. -Mathias Panzenböck-------- Originalnachricht --------Betreff: [panzi/qjoypad] QJoyPad Mouse Wheel Emulation (#19)Von: Christian Siewert An: panzi/qjoypad Cc: Subscribed Hey, is it possible to emulate the mouse wheel with qjoypad? Best, Christian
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread. {"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/panzi/qjoypad/issues/19","url":"https://github.com/panzi/qjoypad/issues/19","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}} {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/panzi/qjoypad","title":"panzi/qjoypad","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/panzi/qjoypad"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"QJoyPad Mouse Wheel Emulation (#19)"}],"action":{"name":"View Issue","url":"https://github.com/panzi/qjoypad/issues/19"}}} { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "QJoyPad Mouse Wheel Emulation (#19)", "sections": [ { "text": "", "activityTitle": "Christian Siewert", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@christiansiewert", "facts": [ { "name": "Repository: ", "value": "panzi/qjoypad" }, { "name": "Issue #: ", "value": 19 } ] } ], "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\": \"panzi/qjoypad\",\n\"issueId\": 19,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"panzi/qjoypad\",\n\"issueId\": 19\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/panzi/qjoypad/issues/19" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 344370639\n}" } ], "themeColor": "26292E" }
The problem is that it doesn't recognize scrolling when I want to assign a key. Everything else works perfectly.
On 2018-06-10 14:48, Christian Siewert wrote:
The problem is that it doesn't recognize scrolling when I want to assign a key. Everything else works perfectly.
Ok, am at my PC for a second now: I tried to assign a joypad button or an axis to wheel-up and it worked for me. WHy exactly are you doing? The exact steps?
I do the same thing I do when I want to assign an axis of my mouse or a key of my keyboard. The dialog box asking you to press a button appears, but when I turn the scroll wheel, nothing happens. Can you describe your steps as well, please?
On 2018-06-10 15:29, Christian Siewert wrote:
I do the same thing I do when I want to assign an axis of my mouse or a key of my keyboard. The dialog box asking you to press a button appears, but when I turn the scroll wheel, nothing happens. Can you describe your steps as well, please?
Do you hover the mouse cursor above the window that asks for a key press?
Yes, I do.
Any updates on this?
I don't have time to look at this at the moment, especially since it works for me. :(
So you are doing the same things as I do?
:(
I think I'm having the same issue is OP here. Many of my joystick buttons are detected as "axis" rather than "button". When I go to assign a function to that axis, I am able to use it to move the mouse or assign a keyboard button. No problem assigning pretty much any button on my keyboard. However, I am not able to assign a mouse button. On my system and all my mice, it is mouse button 4 and 5 that are the scroll wheel.
In qjoypad, I can assign rapidfire, mouse 5
to a joystick button and that button will scroll like its supposed to. However, I cannot assign the same rapidfire, mouse 5
to an axis.
Lmao, almost two years later and I'm still looking for a solution. Want to play minecraft on my raspberry and need a way for sliding through the item list^^
The workaround I came up with is to use qjoypad to map the axis to some buttons I never use. The number pad gives you like 15 of them. With that, I end up with axis 10 pressing 1
and 2
on the dpad. Then using xbindkeys, when button 1
is pressed, use xdotool to xdotool click 4
which presses mouse button 4 which is the scroll wheel. Its an extra step of indirection, but it works.
It's worth a try at least, yeah, thanks.
Hey, is it possible to emulate the mouse wheel with qjoypad? Best, Christian