MZ Improved Menu Touch control (MV/MZ)

I know there are similar plugins but here's my version.

Current version: v1.1

Introduction:
This plugin changes touch control of menus so you only need to tap the item once to trigger it. If you want to select an item without triggering, you need to do a long press. For MV, it also enables mouse move select feature like MZ, but there're no additional screen buttons, you'll have to rely on gestures.

There is only plugin parameter 'useSceneTouchFix', which is off by default.
It is there to make menu scene a bit easier to nagivate using a touch screen. For example, you don't have to back out of item selection mode if you want to toggle item categories.

But keep in mind this feature is done on scene level, so it may not be compatible with custom menu plugins. Feel free to leave a comment if you find something goes wrong so I can make a patch.

Terms of Use:
You can use the plugin for any project free of charge, you may also modify it to suit your need. Please credit me if you do.

Download:

TODO:
Add scene level improvements, like toggle item categories when the window is on focus. But this may cause compatible issues for custom UIs.
I think it's good, it helps to make it more usable on mobile and mouse and it's smoother.
Update:

Add a new plugin parameter useSceneTouchFix. The parameter is off by default.

When turned on it will try to fix some awkward features, for example, toggle item categories without exiting item selection mode. Normally you need to click the back button or use two fingers gesture.

This function may only work on default menu, if you have a custom menu layout, the plugin may not know what to do. Feel free to leave a comment if you want your custom menu to work correctly.

Original thread: https://forums.rpgmakerweb.com/threads/improved-menu-touch-control-mv-mz.175414/