alexbatalov / fallout2-ce

Fallout 2 for modern operating systems
Other
1.76k stars 120 forks source link

Touch control with stylus #286

Open DvaMishkiLapa opened 1 year ago

DvaMishkiLapa commented 1 year ago

I have a screen that supports one touch, as well as a stylus. By default, F2 seems to run with mobile device control (moving the cursor with your finger). How do I switch to the control mode the same as a mouse? Where I pressed with the stylus, that's where the mouse should be.

I have been using the armv7 source build on Alpine Linux.

DvaMishkiLapa commented 1 year ago

My complete configuration is described here https://github.com/alexbatalov/fallout2-ce/issues/221. I have overcome the cursor problems I described in the last problem (I don't know how, I updated a couple of things and now I run F2 in windowed mode for convenience).

roginvs commented 1 year ago

As workaround I did this https://github.com/roginvs/fallout2-ce/commit/f6a685ffc02aec8ffd2315bde127ef22382f2f45 + https://github.com/roginvs/fallout2-ce/commit/c546d1476e1098235e6706e575e77bb6cb8e3020 but I am sure that it can be done better