[Question] Move cursor with touchscreen on Android

Hello! I’ve tried building Bochs emulator for Android using SDL2. Then I tried to run Win95 guest inside it and noticed the following:

  • with external (OTG) mouse guest cursor moves fine (with relative mode on).
  • when I use touchscreen - guest cursor misbehaves (random moves and clicks) despite I set SDL_HINT_TOUCH_MOUSE_EVENTS. I just want to move guest cursor while moving my finger across the screen (cursor sholud follow finger trajectory).
    What should I do in order to get both input methods working?