- get rid of simulated mouse events for digging/placing, use keyboard events
instead
- consistent with other simulated events, less code, no need for a
pointer position
- more correct: touch controls no longer break if you have custom
dig/place keybindings set
- move reading of "touch_use_crosshair" setting from Game to TouchControls
- The editor is accessible via the pause menu and the settings menu.
- Buttons can be moved via drag & drop.
- Buttons can be added/removed. The grid menu added by #14918 is used to show
all buttons not included in the layout.
- Custom layouts are responsive and adapt to changed screen size / DPI /
hud_scaling.
- The layout is saved as JSON in the "touch_layout" setting.
to avoid confusion between touchscreen-related settings that affect GUIs
(formspecs) and touchscreen-related settings that affect the touch controls
(TouchControls / formerly TouchScreenGUI)