by Barry4679 » Sun May 02, 2021 10:06 pm
drakinite wrote: ↑Sun May 02, 2021 8:56 pm
It's quite interesting that you are getting so many wheel events in a row. When you did this, did you only move the physical scroll wheel one "tick"? When I simulate a horizontal scroll via my AHK script, I only get one log event per time I press the button:
https://lambda.sx/Pj2Z.mp4
The thumb wheel is freespin, ie. not a ratchet with steps. ... And yes, and I was a bit persistent with it, trying to get some action.
Here is the smallest nudge that I can manage.
Code: Select all
app.listen(window, 'wheel', e => console.log(e));
e => console.log(e)
VM1345:1 WheelEvent {isTrusted: true, deltaX: -100, deltaY: -0, deltaZ: 0, deltaMode: 0, …}altKey: falsebubbles: truebutton: 0buttons: 0cancelBubble: falsecancelable: trueclientX: 438clientY: 203composed: truectrlKey: falsecurrentTarget: nulldefaultPrevented: falsedeltaMode: 0deltaX: -100deltaY: -0deltaZ: 0detail: 0eventPhase: 0fromElement: nullisTrusted: truelayerX: 212layerY: -1metaKey: falsemovementX: 0movementY: 0offsetX: 211offsetY: -1pageX: 438pageY: 203path: (29) [div.lvcolumnitem, div.lvitem.rowitem.flex.row.gridrow, div.lvviewport, div.lvcanvas, div.lvfill, div.lvbody.fill, div.listview.flex.column.showinline.viewcontrol.canscrollhoriz, div.scrollable.fill, div.fill.flex.column, div.fill.layer.flex.column, div.fill.flex.column.middlecontrol.nontransparent, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.fill.flex.column.nooverflow, div.fill.animate, div.fill, div.fill.flex.row.hassplitters, div.fill.flex.column, div.fill.flex.column.animate, div.fill.flex.column.animate, div#windowcontent, div.fill.windowheaderoffset, div.winborder, body, html, document, Window]relatedTarget: nullreturnValue: truescreenX: -883screenY: 491shiftKey: falsesourceCapabilities: nullsrcElement: div.lvcolumnitemtarget: div.lvcolumnitemtimeStamp: 58308.91499994323toElement: div.lvcolumnitemtype: "wheel"view: Window {window: Window, self: Window, document: document, name: "", location: Location, …}wheelDelta: 120wheelDeltaX: 120wheelDeltaY: 0which: 0x: 438y: 203__proto__: WheelEvent
VM1345:1 WheelEvent {isTrusted: true, deltaX: -0, deltaY: -0, deltaZ: 0, deltaMode: 0, …}altKey: falsebubbles: truebutton: 0buttons: 0cancelBubble: falsecancelable: falseclientX: 438clientY: 203composed: truectrlKey: falsecurrentTarget: nulldefaultPrevented: falsedeltaMode: 0deltaX: -0deltaY: -0deltaZ: 0detail: 0eventPhase: 0fromElement: nullisTrusted: truelayerX: 212layerY: -1metaKey: falsemovementX: 0movementY: 0offsetX: 211offsetY: -1pageX: 438pageY: 203path: (29) [div.lvcolumnitem, div.lvitem.rowitem.flex.row.gridrow, div.lvviewport, div.lvcanvas, div.lvfill, div.lvbody.fill, div.listview.flex.column.showinline.viewcontrol.canscrollhoriz, div.scrollable.fill, div.fill.flex.column, div.fill.layer.flex.column, div.fill.flex.column.middlecontrol.nontransparent, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.fill.flex.column.nooverflow, div.fill.animate, div.fill, div.fill.flex.row.hassplitters, div.fill.flex.column, div.fill.flex.column.animate, div.fill.flex.column.animate, div#windowcontent, div.fill.windowheaderoffset, div.winborder, body, html, document, Window]relatedTarget: nullreturnValue: truescreenX: -883screenY: 491shiftKey: falsesourceCapabilities: nullsrcElement: div.lvcolumnitemtarget: div.lvcolumnitemtimeStamp: 58310.43499999214toElement: div.lvcolumnitemtype: "wheel"view: Window {window: Window, self: Window, document: document, name: "", location: Location, …}wheelDelta: 0wheelDeltaX: 0wheelDeltaY: 0which: 0x: 438y: 203__proto__: WheelEvent
VM1345:1 WheelEvent {isTrusted: true, deltaX: -0, deltaY: -0, deltaZ: 0, deltaMode: 0, …}altKey: falsebubbles: truebutton: 0buttons: 0cancelBubble: falsecancelable: trueclientX: 438clientY: 203composed: truectrlKey: falsecurrentTarget: nulldefaultPrevented: falsedeltaMode: 0deltaX: -0deltaY: -0deltaZ: 0detail: 0eventPhase: 0fromElement: nullisTrusted: truelayerX: 212layerY: -1metaKey: falsemovementX: 0movementY: 0offsetX: 211offsetY: -1pageX: 438pageY: 203path: (29) [div.lvcolumnitem, div.lvitem.rowitem.flex.row.gridrow, div.lvviewport, div.lvcanvas, div.lvfill, div.lvbody.fill, div.listview.flex.column.showinline.viewcontrol.canscrollhoriz, div.scrollable.fill, div.fill.flex.column, div.fill.layer.flex.column, div.fill.flex.column.middlecontrol.nontransparent, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.fill.flex.column.nooverflow, div.fill.animate, div.fill, div.fill.flex.row.hassplitters, div.fill.flex.column, div.fill.flex.column.animate, div.fill.flex.column.animate, div#windowcontent, div.fill.windowheaderoffset, div.winborder, body, html, document, Window]relatedTarget: nullreturnValue: truescreenX: -883screenY: 491shiftKey: falsesourceCapabilities: nullsrcElement: div.lvcolumnitemtarget: div.lvcolumnitemtimeStamp: 58408.86500000488toElement: div.lvcolumnitemtype: "wheel"view: Window {window: Window, self: Window, document: document, name: "", location: Location, …}wheelDelta: 0wheelDeltaX: 0wheelDeltaY: 0which: 0x: 438y: 203__proto__: WheelEvent
VM1345:1 WheelEvent {isTrusted: true, deltaX: -0, deltaY: -0, deltaZ: 0, deltaMode: 0, …}altKey: falsebubbles: truebutton: 0buttons: 0cancelBubble: falsecancelable: trueclientX: 438clientY: 203composed: truectrlKey: falsecurrentTarget: nulldefaultPrevented: falsedeltaMode: 0deltaX: -0deltaY: -0deltaZ: 0detail: 0eventPhase: 0fromElement: nullisTrusted: truelayerX: 212layerY: -1metaKey: falsemovementX: 0movementY: 0offsetX: 211offsetY: -1pageX: 438pageY: 203path: (29) [div.lvcolumnitem, div.lvitem.rowitem.flex.row.gridrow, div.lvviewport, div.lvcanvas, div.lvfill, div.lvbody.fill, div.listview.flex.column.showinline.viewcontrol.canscrollhoriz, div.scrollable.fill, div.fill.flex.column, div.fill.layer.flex.column, div.fill.flex.column.middlecontrol.nontransparent, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.fill.flex.column.nooverflow, div.fill.animate, div.fill, div.fill.flex.row.hassplitters, div.fill.flex.column, div.fill.flex.column.animate, div.fill.flex.column.animate, div#windowcontent, div.fill.windowheaderoffset, div.winborder, body, html, document, Window]relatedTarget: nullreturnValue: truescreenX: -883screenY: 491shiftKey: falsesourceCapabilities: nullsrcElement: div.lvcolumnitemtarget: div.lvcolumnitemtimeStamp: 58498.889999929816toElement: div.lvcolumnitemtype: "wheel"view: Window {window: Window, self: Window, document: document, name: "", location: Location, …}wheelDelta: 0wheelDeltaX: 0wheelDeltaY: 0which: 0x: 438y: 203__proto__: WheelEvent
VM1345:1 WheelEvent {isTrusted: true, deltaX: -0, deltaY: -0, deltaZ: 0, deltaMode: 0, …}
drakinite wrote: ↑Sun May 02, 2021 8:56 pm
That's just Windows 10's native volume control popup. It opens when you press volume controls on your keyboard. I'm surprised you haven't seen it before. Why MediaMonkey causes it to open is another mystery... Let's get to that later, after we figure out the horizontal mouse wheel issue.
Funny.
I never play any media using my PC. I have a couple of Sonos speakers on the desk, and a sub under it. So everything gets played by Sonos.
[quote=drakinite post_id=480978 time=1620006967 user_id=107828]
It's quite interesting that you are getting so many wheel events in a row. When you did this, did you only move the physical scroll wheel one "tick"? When I simulate a horizontal scroll via my AHK script, I only get one log event per time I press the button: https://lambda.sx/Pj2Z.mp4
[/quote]
The thumb wheel is freespin, ie. not a ratchet with steps. ... And yes, and I was a bit persistent with it, trying to get some action. :)
Here is the smallest nudge that I can manage.
[code]app.listen(window, 'wheel', e => console.log(e));
e => console.log(e)
VM1345:1 WheelEvent {isTrusted: true, deltaX: -100, deltaY: -0, deltaZ: 0, deltaMode: 0, …}altKey: falsebubbles: truebutton: 0buttons: 0cancelBubble: falsecancelable: trueclientX: 438clientY: 203composed: truectrlKey: falsecurrentTarget: nulldefaultPrevented: falsedeltaMode: 0deltaX: -100deltaY: -0deltaZ: 0detail: 0eventPhase: 0fromElement: nullisTrusted: truelayerX: 212layerY: -1metaKey: falsemovementX: 0movementY: 0offsetX: 211offsetY: -1pageX: 438pageY: 203path: (29) [div.lvcolumnitem, div.lvitem.rowitem.flex.row.gridrow, div.lvviewport, div.lvcanvas, div.lvfill, div.lvbody.fill, div.listview.flex.column.showinline.viewcontrol.canscrollhoriz, div.scrollable.fill, div.fill.flex.column, div.fill.layer.flex.column, div.fill.flex.column.middlecontrol.nontransparent, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.fill.flex.column.nooverflow, div.fill.animate, div.fill, div.fill.flex.row.hassplitters, div.fill.flex.column, div.fill.flex.column.animate, div.fill.flex.column.animate, div#windowcontent, div.fill.windowheaderoffset, div.winborder, body, html, document, Window]relatedTarget: nullreturnValue: truescreenX: -883screenY: 491shiftKey: falsesourceCapabilities: nullsrcElement: div.lvcolumnitemtarget: div.lvcolumnitemtimeStamp: 58308.91499994323toElement: div.lvcolumnitemtype: "wheel"view: Window {window: Window, self: Window, document: document, name: "", location: Location, …}wheelDelta: 120wheelDeltaX: 120wheelDeltaY: 0which: 0x: 438y: 203__proto__: WheelEvent
VM1345:1 WheelEvent {isTrusted: true, deltaX: -0, deltaY: -0, deltaZ: 0, deltaMode: 0, …}altKey: falsebubbles: truebutton: 0buttons: 0cancelBubble: falsecancelable: falseclientX: 438clientY: 203composed: truectrlKey: falsecurrentTarget: nulldefaultPrevented: falsedeltaMode: 0deltaX: -0deltaY: -0deltaZ: 0detail: 0eventPhase: 0fromElement: nullisTrusted: truelayerX: 212layerY: -1metaKey: falsemovementX: 0movementY: 0offsetX: 211offsetY: -1pageX: 438pageY: 203path: (29) [div.lvcolumnitem, div.lvitem.rowitem.flex.row.gridrow, div.lvviewport, div.lvcanvas, div.lvfill, div.lvbody.fill, div.listview.flex.column.showinline.viewcontrol.canscrollhoriz, div.scrollable.fill, div.fill.flex.column, div.fill.layer.flex.column, div.fill.flex.column.middlecontrol.nontransparent, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.fill.flex.column.nooverflow, div.fill.animate, div.fill, div.fill.flex.row.hassplitters, div.fill.flex.column, div.fill.flex.column.animate, div.fill.flex.column.animate, div#windowcontent, div.fill.windowheaderoffset, div.winborder, body, html, document, Window]relatedTarget: nullreturnValue: truescreenX: -883screenY: 491shiftKey: falsesourceCapabilities: nullsrcElement: div.lvcolumnitemtarget: div.lvcolumnitemtimeStamp: 58310.43499999214toElement: div.lvcolumnitemtype: "wheel"view: Window {window: Window, self: Window, document: document, name: "", location: Location, …}wheelDelta: 0wheelDeltaX: 0wheelDeltaY: 0which: 0x: 438y: 203__proto__: WheelEvent
VM1345:1 WheelEvent {isTrusted: true, deltaX: -0, deltaY: -0, deltaZ: 0, deltaMode: 0, …}altKey: falsebubbles: truebutton: 0buttons: 0cancelBubble: falsecancelable: trueclientX: 438clientY: 203composed: truectrlKey: falsecurrentTarget: nulldefaultPrevented: falsedeltaMode: 0deltaX: -0deltaY: -0deltaZ: 0detail: 0eventPhase: 0fromElement: nullisTrusted: truelayerX: 212layerY: -1metaKey: falsemovementX: 0movementY: 0offsetX: 211offsetY: -1pageX: 438pageY: 203path: (29) [div.lvcolumnitem, div.lvitem.rowitem.flex.row.gridrow, div.lvviewport, div.lvcanvas, div.lvfill, div.lvbody.fill, div.listview.flex.column.showinline.viewcontrol.canscrollhoriz, div.scrollable.fill, div.fill.flex.column, div.fill.layer.flex.column, div.fill.flex.column.middlecontrol.nontransparent, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.fill.flex.column.nooverflow, div.fill.animate, div.fill, div.fill.flex.row.hassplitters, div.fill.flex.column, div.fill.flex.column.animate, div.fill.flex.column.animate, div#windowcontent, div.fill.windowheaderoffset, div.winborder, body, html, document, Window]relatedTarget: nullreturnValue: truescreenX: -883screenY: 491shiftKey: falsesourceCapabilities: nullsrcElement: div.lvcolumnitemtarget: div.lvcolumnitemtimeStamp: 58408.86500000488toElement: div.lvcolumnitemtype: "wheel"view: Window {window: Window, self: Window, document: document, name: "", location: Location, …}wheelDelta: 0wheelDeltaX: 0wheelDeltaY: 0which: 0x: 438y: 203__proto__: WheelEvent
VM1345:1 WheelEvent {isTrusted: true, deltaX: -0, deltaY: -0, deltaZ: 0, deltaMode: 0, …}altKey: falsebubbles: truebutton: 0buttons: 0cancelBubble: falsecancelable: trueclientX: 438clientY: 203composed: truectrlKey: falsecurrentTarget: nulldefaultPrevented: falsedeltaMode: 0deltaX: -0deltaY: -0deltaZ: 0detail: 0eventPhase: 0fromElement: nullisTrusted: truelayerX: 212layerY: -1metaKey: falsemovementX: 0movementY: 0offsetX: 211offsetY: -1pageX: 438pageY: 203path: (29) [div.lvcolumnitem, div.lvitem.rowitem.flex.row.gridrow, div.lvviewport, div.lvcanvas, div.lvfill, div.lvbody.fill, div.listview.flex.column.showinline.viewcontrol.canscrollhoriz, div.scrollable.fill, div.fill.flex.column, div.fill.layer.flex.column, div.fill.flex.column.middlecontrol.nontransparent, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.dynamic.flex.column, div.fill.flex.row.hassplitters, div.fill.flex.column.nooverflow, div.fill.animate, div.fill, div.fill.flex.row.hassplitters, div.fill.flex.column, div.fill.flex.column.animate, div.fill.flex.column.animate, div#windowcontent, div.fill.windowheaderoffset, div.winborder, body, html, document, Window]relatedTarget: nullreturnValue: truescreenX: -883screenY: 491shiftKey: falsesourceCapabilities: nullsrcElement: div.lvcolumnitemtarget: div.lvcolumnitemtimeStamp: 58498.889999929816toElement: div.lvcolumnitemtype: "wheel"view: Window {window: Window, self: Window, document: document, name: "", location: Location, …}wheelDelta: 0wheelDeltaX: 0wheelDeltaY: 0which: 0x: 438y: 203__proto__: WheelEvent
VM1345:1 WheelEvent {isTrusted: true, deltaX: -0, deltaY: -0, deltaZ: 0, deltaMode: 0, …}[/code]
[quote=drakinite post_id=480978 time=1620006967 user_id=107828]
That's just Windows 10's native volume control popup. It opens when you press volume controls on your keyboard. I'm surprised you haven't seen it before. Why MediaMonkey causes it to open is another mystery... Let's get to that later, after we figure out the horizontal mouse wheel issue.
[/quote]
Funny.
I never play any media using my PC. I have a couple of Sonos speakers on the desk, and a sub under it. So everything gets played by Sonos.