chw2054 / quake2-gwt-port

GNU General Public License v2.0
0 stars 0 forks source link

Can't capture mouse wheel or mouse3 clicks #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to bind MWHEELUP/DOWN or MOUSE3

What is the expected output? What do you see instead?

Scroll does nothing, MOUSE3 tries to do quick scroll.

What version of the product are you using? On what operating system?

Tip of trunk as of this post.

Please provide any additional information below.

Not sure if it is possible to hook these, should at least be possible to 
hook and suppress MOUSE3 via document.onmousedown?  Not sure, I've never 
tried it.

There is a document.onscroll, perhaps this could be used somehow with a 
window-sized transparent-background div with a hidden or off-screen 
scrollbar?  A bit of a hack though.

Original issue reported on code.google.com by megazzt on 2 Apr 2010 at 10:48

GoogleCodeExporter commented 8 years ago
Er wait it looks like mouse wheel DOES work ingame, just not for binding?

Original comment by megazzt on 3 Apr 2010 at 3:38

GoogleCodeExporter commented 8 years ago
Mousewheel works for me, I think the mouse3 issue is a general browser problem.

Original comment by stefan.haustein on 5 Jul 2010 at 10:02