diff options
author | Sven Gothel <[email protected]> | 2013-10-17 20:03:04 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-10-17 20:03:04 +0200 |
commit | 5b96486da0bcd09d5355f89ec551140e508b567c (patch) | |
tree | a744400564c79bf717d75670975557da18eee983 /make/newt.compiler.xml | |
parent | 0eceb7df4b04a183a738474c0d7f4be41b6bcc0c (diff) |
Bug 800: Add Windows 7 Touch Event Support for NEWT
Native:
- WindowUserData tracks:
- window size
- mouse inside
- pointer touch-down count
and flags whether multiple-touch is supported.
- Suppress WM_*BUTTON* events if within TOUCH operations, e.g. fingers are pressed, or
if event is determined as TOUCH (0 != GetMessageExtraInfo())
- MOUSEMOVE issues NewtWindows_trackPointerLeave(..) directly
if no TOUCH operation is in process.
Removes need for MouseListener on Java side.
- TOUCH events are send as follows:
- PRIMARY first
- 1 MOVE 2nd (if not sent already)
- UP/DOWN (if not sent already)
We only send max. one MOVE event, since Win7 / Win8
assignes MOVE per default, even if no actual move happened.
Hence a single MOVE event shall suffice and is compatible
w/ e.g. Android (AFAIK).
- TOUCH pointer names are mapped to consecutive IDs
on the java side.
Diffstat (limited to 'make/newt.compiler.xml')
0 files changed, 0 insertions, 0 deletions