~chasedouglas/grail/original-touch-state

« back to all changes in this revision

Viewing changes to src/gebuf.h

  • Committer: Henrik Rydberg
  • Date: 2011-01-02 12:08:08 UTC
  • Revision ID: rydberg@bitmath.org-20110102120808-0nzbo3fcpp91sir5
Replace touch logic with utouch frame engine

The original grail uses an internal touch framework and exports some
touch information as extended attributes to gesture events. This was
never quite the intention, but rather to expose gestures and touches
on a similar footing, such that grail can be input agnostic. This
patch starts off by replacing the internal touch framework with the
utouch-frame engine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#ifndef _GRAIL_GESTURE_BUFFER_H
24
24
#define _GRAIL_GESTURE_BUFFER_H
25
25
 
26
 
#include <grail.h>
 
26
#include "grail-impl.h"
27
27
 
28
28
#define DIM_GESTURE_EVENTS 512
29
29
 
31
31
        int status;
32
32
        int ntouch;
33
33
        int nprop;
34
 
        touch_time_t time;
 
34
        utouch_frame_time_t time;
35
35
        struct grail_coord pos;
36
36
        grail_prop_t prop[DIM_GRAIL_PROP];
37
37
};