Changes between Initial Version and Version 1 of Ticket #12532, comment 7


Ignore:
Timestamp:
05/22/21 19:32:32 (3 years ago)
Author:
Zeimyth

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12532, comment 7

    initial v1  
    11It 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:
    22
    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
     305-22 12:26:51.122   433   433 D ScummVM : onHover mouseEvent
     405-22 12:26:51.123   433   433 D MouseHandler.java onMouseEvent: 9: (0.0, 0.0)
     505-22 12:26:51.123   433   433 D ScummVM : onMouseEvent buttonState = 0
     605-22 12:26:51.125   433   433 D ScummVM : onHover mouseEvent
     705-22 12:26:51.126   433   433 D MouseHandler.java onMouseEvent: 10: (0.0, 0.0)
     805-22 12:26:51.126   433   433 D ScummVM : onMouseEvent buttonState = 0
    49
    510I'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.