mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 19:53:34 +08:00
NXWidgets::CImage needs to catch mouse/touchscreen events; All touchscreen drivers need to report the last valid X/Y data when the screen is untouched.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4731 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
+4
-1
@@ -2746,4 +2746,7 @@
|
||||
other logic can use the defaults.
|
||||
* graphics/nxtk/nxtk_events.c: Fixed an important but in the logic that
|
||||
translates the mouse/touchscreen position data for framed windows and toolbars.
|
||||
|
||||
* drivers/input/stmpe11_tsc.c, tsc2007.c, and ads7843e.c: Need to keep track of
|
||||
when if positional data is valid. When the touch is released, the X/Y position
|
||||
of the release must be the same as the X/Y position of the last touch (se that
|
||||
the release occurs in the same window as the last touch).
|
||||
|
||||
Reference in New Issue
Block a user