The underdog wrote: ↑Thu Dec 22, 2022 10:09 pm
Add fakkin touch support as a start, what pre windows 8 laptop doesn't have a touch screen even? on osrs it plays fine on touch screens but here it's down bad
I don’t think we’re meant to do any deliberate integration for touch screens. If your OS isn’t forwarding your touch inputs as the correct mouse events to the application, there’s not much we can do about that. We might be at the mercy of Java’s handling of it.
I can look into if we’re using any weird mouse behavior, which is honestly somewhat possible, but it’s also pretty unlikely because that’s not the type of thing any programmer has ever said “let me reimplement this” to.
Edit: We are indeed using standardized AWT MouseEvents and KeyEvents passed in by the OS, so it seems to be out of our hands, or I need more details about what exactly is wrong.
This already happens Lieven, except instead of a shock collar it's people flinging abuse in my direction when it takes me more than 5 seconds to type a reply.
Raj wrote: ↑Fri Dec 23, 2022 9:46 am
Edit: We are indeed using standardized AWT MouseEvents and KeyEvents passed in by the OS, so it seems to be out of our hands, or I need more details about what exactly is wrong.
Say I use touch only. I click(tap) on tree, I start to chop tree.
If I now tap a brew in inv as my next action, the mouse action will be to click on the last mouse position and then move the mouse.
So what happens is that the tree gets clicked and brew is hovered. If I then proceed to tap the tree again I drink the brew and the tree is hovered.
Raj wrote: ↑Fri Dec 23, 2022 9:46 am
Edit: We are indeed using standardized AWT MouseEvents and KeyEvents passed in by the OS, so it seems to be out of our hands, or I need more details about what exactly is wrong.
Say I use touch only. I click(tap) on tree, I start to chop tree.
If I now tap a brew in inv as my next action, the mouse action will be to click on the last mouse position and then move the mouse.
So what happens is that the tree gets clicked and brew is hovered. If I then proceed to tap the tree again I drink the brew and the tree is hovered.
I have a potential solution. Can you hop on a test server and test it out?
If this doesn't work, your touch drivers are likely bugged, and I think they're actually sending a click from before the mouse movement, for whatever reason. Because the current mouse listener does work with other touch emulators, like RDP.
Raj wrote: ↑Fri Dec 23, 2022 9:46 am
Edit: We are indeed using standardized AWT MouseEvents and KeyEvents passed in by the OS, so it seems to be out of our hands, or I need more details about what exactly is wrong.
Say I use touch only. I click(tap) on tree, I start to chop tree.
If I now tap a brew in inv as my next action, the mouse action will be to click on the last mouse position and then move the mouse.
So what happens is that the tree gets clicked and brew is hovered. If I then proceed to tap the tree again I drink the brew and the tree is hovered.
I have a potential solution. Can you hop on a test server and test it out?
If this doesn't work, your touch drivers are likely bugged, and I think they're actually sending a click from before the mouse movement, for whatever reason. Because the current mouse listener does work with other touch emulators, like RDP.
Fe nis wrote: ↑Fri Dec 23, 2022 2:41 pm
This already happens Lieven, except instead of a shock collar it's people flinging abuse in my direction when it takes me more than 5 seconds to type a reply.