summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2021-12-16 15:15:28 +0800
committerPo Lu <luangruo@yahoo.com>2021-12-17 14:20:05 +0800
commitf6339412eebdc027b00263ae2b5c38a029e2f7b4 (patch)
tree6044818b1dcbca999f2a14338d3561f242a29588 /lisp/emacs-lisp
parent32d12840e666d1d07c92cc31f0b12965451f7726 (diff)
downloademacs-f6339412eebdc027b00263ae2b5c38a029e2f7b4.tar.gz
emacs-f6339412eebdc027b00263ae2b5c38a029e2f7b4.tar.bz2
emacs-f6339412eebdc027b00263ae2b5c38a029e2f7b4.zip
Add support for touchscreen events generated by XInput 2
* doc/lispref/commands.texi (Input Events): Add "Touchscreen Events" to menu. (Touchscreen Events): New node. * etc/NEWS: Announce new event types. * src/keyboard.c (make_lispy_event): Handle touchscreen events. (syms_of_keyboard): New symbols `touchscreen-begin', `touchscreen-end' and `touchscreen-update'. * src/termhooks.h (enum event_kind): New touchscreen events. * src/xfns.c (setup_xi_event_mask): Set up touch event mask if appropriate. (x_window) [USE_GTK]: Call `setup_xi_event_mask'. * src/xterm.c (x_free_xi_devices): Free touchpoints. (x_init_master_valuators): Handle all devices and set master and touch mode flags appropriately. (xi_reset_scroll_valuators_for_device_id): (x_get_scroll_valuator_delta): Ignore slave devices. (xi_link_touch_point): (xi_unlink_touch_point): (xi_find_touch_point): New functions. (handle_one_xevent): Handle XI touch events and events from non-master devices. * src/xterm.h (struct xi_touch_point_t): New structure. (struct xi_device_t): Add touchpoints field.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions