| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
The primary usecase of grail involves using it together with the
xserver, which is not threaded. Revert the touch-dev code back to
the state prior to adding the threaded processing. Deferred event
handling can be implemented by other means when needed.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
|
|
| |
Add grail_get_units() to the api, so so that applications can
extract the min/max coordinates used in the gesture events.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
|
|
| |
Add four-finger and five-finger gestures, and move all gesture types
out to a separate file.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
|
|
|
|
| |
The bitmask passed to get_clients takes the number of bytes
in the bitmask as argument, not the number of types, as easily
assumed given the argument name. This patch changes the name
to type_bytes to avoid confusion.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
|
| |
Improved tapping quality with this patch.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
|
|
| |
Simplify some common parts of the recognizer code and add tapping
to the gesture suite.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
|
|
| |
Introduce grail_mask bit functions, and add new gestures as separate
functions, referring to the same move model.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
|
|
|
| |
In order to enable deferred events from grail, but the event
processing in a separate thread, and have the calling thread return
as quickly as possible.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
|
|
| |
Refactor code to make more room for gesture recognition. Also simplify
public headers.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
|
| |
This patch introduces the grail API, and a program to test it (evlink).
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
|
|
|
| |
Add touch time to the touch frame (Thanks Rafi)
Add touch change counters to the touch frame
Add event bypass callback
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
|
| |
not contain any logic changes.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
|
|
The aim of this first commit is to get down to hard testing of concepts,
and the library currently has two test programs, touch and grail,
which can be run on commandline. Touch tests the touch interface,
and grail tests the gesture interface.
Expect thinking errors and some glitches. Other than that, the code
runs fine.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|