diff options
author | Alan Third <alan@idiocy.org> | 2017-06-27 20:59:05 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2017-06-27 20:59:05 +0100 |
commit | aced8e8482f93683d7f1299782901e8c2990c704 (patch) | |
tree | 897a5606547a77ab27c878a06a77bc8e1c08f473 /src/termhooks.h | |
parent | d932d344ee33d23e8237b78a5a7d123e813aed18 (diff) | |
download | emacs-scratch/touch.tar.gz |
Change events to match mac port eventsscratch/touch
The changelog from the commit two before will cover this if they're
squashed, which is my plan. Hence no changelog entry here.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r-- | src/termhooks.h | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index 08f6884da44..2c04f62d092 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -128,29 +128,14 @@ enum event_kind position. .arg holds a list in the form: (delta-x delta-y). */ - TOUCH_PINCH_EVENT, /* Touch pinch event generated by a + TOUCH_GESTURE_EVENT, /* Touch pinch event generated by a touchpad or touch screen. .modifiers holds the state of any modifier keys. .x and .y contain the mouse position. - .arg holds the pinch delta as a float. */ - TOUCH_ROTATE_EVENT, /* Touch rotate event generated by a - touchpad or touch screen. - .modifiers holds the state of any - modifier keys. - .x and .y contain the mouse - position. - .arg holds the rotation delta as a - float. */ - /* The following four events are touch swipe events generated by a - touchpad or touchscreen. - .modifiers holds the state of any modifier keys. - .x and .y contain the mouse position. */ - TOUCH_SWIPE_UP_EVENT, - TOUCH_SWIPE_DOWN_EVENT, - TOUCH_SWIPE_LEFT_EVENT, - TOUCH_SWIPE_RIGHT_EVENT, + .arg, if non-NULL, holds the delta + as a float. */ #ifdef HAVE_NTGUI LANGUAGE_CHANGE_EVENT, /* A LANGUAGE_CHANGE_EVENT is generated when HAVE_NTGUI or on Mac OS |