Presumably you are talking about a mobile platform like Android or iOS? On a desktop platform (e.g. Windows, MacOS, Linux) VDU 26 won't change the size of the window, so if you have previously set its size using VDU 23 (or MODE), VDU 26 won't do anything except set the text and graphics viewports to fill the window.I have tried to include multitouch to stargate.
I am using a VDU23 command to change the window size.
If I add the VDU 26 command the screen size changes.
But Android and iOS don't have the concept of 'window' at all, so in that case VDU 26 can't set the text and graphics viewports to the size of the window - there isn't one! - therefore they set them to the size of the screen (or at least the part of the screen to which BBC BASIC is able to output). So on such a platform you may want to avoid using VDU 26 if you don't want that side-effect.
Instead you can, if you need to, set the text and graphics viewports explicitly using VDU 28 and VDU 24.
Presumably the supplied demo program multitouch.bbc is working for you so I would suggest looking to see what differences there are between that program and yours which could explain the effect. If you come to the conclusion that it's a bug (always possible) please report as much information as you can so it can be fixed.I can see the multiple events occurring and can get sensible Y values but the X value is strange
ranging from minus numbers and then the numbers reduce from left to right across the screen.
The documentation of *SYS says this "By default ON SYS interrupts are not generated. *SYS 2 enables ON MOUSE interrupts from SDL_FINGERDOWN, SDL_FINGERUP and SDL_FINGERMOTION events. *SYS 4 enables ON SYS interrupts from SDL_MULTIGESTURE events".What does SYS 6 do (does it stop pinch scaling the screen from working)?
If you have specified that multi-gesture events should be sent to your program then, yes, the default actions of such events (like pinch to zoom) are of course disabled, otherwise they could easily fight each other!