Input event processing method and system based on Linux system
A technology of input events and processing methods, which is applied in the field of input event processing based on Linux systems, can solve the problems of large system overhead and running time, and achieve the effect of reducing system overhead and running time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] In this embodiment, a method for processing an input event based on a Linux system is provided. Please refer to figure 2 , which is a schematic flowchart of a method for processing an input event based on a Linux system according to Embodiment 1 of the present invention. Such as figure 2 As shown, the processing method includes:
[0041] Step S20: Acquiring basic input events;
[0042] Step S21: converting the basic input event into a graphics library message;
[0043] Step S22: Respond to the graphics library message;
[0044] Wherein, the step S21 and the step S20 are performed in the same kernel process.
[0045] In this embodiment, correspondingly, an input event processing system based on a Linux system is also provided. Please refer to image 3 , which is a schematic module diagram of an input event processing system based on a Linux system according to Embodiment 1 of the present invention. Such as image 3 As shown, the processing system includes:
...
Embodiment 2
[0057] Please refer to Figure 5 and Figure 6 ,in, Figure 5 It is a schematic flow diagram of the input event processing method based on the Linux system in Embodiment 2 of the present invention; Figure 6 It is a schematic diagram of modules of the input event processing system based on the Linux system according to Embodiment 2 of the present invention.
[0058] The difference between this embodiment and Embodiment 1 is that the step S51 and step S52 are carried out in the same process, which is the target process here, and the step S50 is carried out in another process, which is the kernel thread here; similarly, the processing The module 61 and the response module 62 work in the same process, here is the target process, and the reading module 60 works in another process, here is the kernel thread. It is easy to know that, thus, the dispatched message will be the basic input event. For other processing, reference may be made to Embodiment 1, which will not be repeated...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
