Virtual Engine Pressure Touch Event Interception
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current Unity engines do not directly support pressure touch functions, limiting the ability of application programs developed using these engines to process pressure touch events, which are essential for efficient man-machine interaction in mobile terminals.
Innovation Solution
The solution involves intercepting pressure-touch events by a virtual engine, transferring them to an outer program, and then to an inner program, allowing the inner program to perform predetermined operations based on these events, thereby enabling pressure touch control in application programs developed on three-dimensional virtual engines.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a Unity engine is used to develop application programs, then the application programs can run on mobile terminals with limited screen area, but the application programs cannot directly process pressure touch events
Solution Approach 1:
The patent introduces an outer program as an intermediary layer between the mobile terminal's pressure touch event system and the Unity engine's inner program. The outer program intercepts pressure touch events from the terminal, processes them, and transfers processed events to the inner program, enabling pressure touch control capability while maintaining the Unity engine's existing architecture.
2Productivity
If virtual keys are displayed on the user interface for controlling game characters, then the application program can be controlled, but the screen area is limited and man-machine interaction efficiency is reduced
Solution Approach 1:
The patent changes the parameter of touch input by utilizing pressure sensitivity of the touchscreen. Instead of requiring separate virtual keys for different actions, the system uses pressure value variations of single touch points to differentiate between various control instructions, thereby improving interaction efficiency within limited screen area.
Data Source
AI summary
An application program control method is provided for a terminal. The terminal is installed with a virtual engine and an application program, the application program is a program developed based on the virtual engine, and the application program includes an outer program and an inner program. The method includes intercepting, by using the virtual engine, a pressure-touch event, the pressure-touch event comprising operation coordinates and a pressure value; transferring, by using the virtual engine, the pressure-touch event to the outer program; transferring, by using the outer program, the pressure-touch event to the inner program; and performing, by using the inner program, a predetermined operation according to the pressure-touch event.


