Changes between Initial Version and Version 1 of Ticket #12532, comment 7
- Timestamp:
- 05/22/21 19:32:32 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12532, comment 7
initial v1 1 1 It appears the entry point for the mouse events is MouseHelper.onHover ( https://github.com/scummvm/scummvm/blob/master/backends/platform/android/org/scummvm/scummvm/MouseHelper.java#L59 ). Uncommenting L60 and L177 in that file gives output like: 2 2 3 05-22 12:26:51.122 433 433 D ScummVM : onHover mouseEvent 05-22 12:26:51.123 433 433 D MouseHandler.java onMouseEvent: 9: (0.0, 0.0) 05-22 12:26:51.123 433 433 D ScummVM : onMouseEvent buttonState = 0 05-22 12:26:51.125 433 433 D ScummVM : onHover mouseEvent 05-22 12:26:51.126 433 433 D MouseHandler.java onMouseEvent: 10: (0.0, 0.0) 05-22 12:26:51.126 433 433 D ScummVM : onMouseEvent buttonState = 0 3 05-22 12:26:51.122 433 433 D ScummVM : onHover mouseEvent 4 05-22 12:26:51.123 433 433 D MouseHandler.java onMouseEvent: 9: (0.0, 0.0) 5 05-22 12:26:51.123 433 433 D ScummVM : onMouseEvent buttonState = 0 6 05-22 12:26:51.125 433 433 D ScummVM : onHover mouseEvent 7 05-22 12:26:51.126 433 433 D MouseHandler.java onMouseEvent: 10: (0.0, 0.0) 8 05-22 12:26:51.126 433 433 D ScummVM : onMouseEvent buttonState = 0 4 9 5 10 I'm uncertain what a "hover" really means in the world of touch inputs. If I hold my finger extremely close to the screen and move it around, I can create a stream of hover debug statements without ever triggering a touch event. I don't know why these are all being reported at coordinates (0, 0), but my device does seem to be picking up something legitimate. I also don't know why I would be getting hover inputs on the Contixo device but not the Pixel device.