From 3ca78fa44a1377b8a9b7d86dddb602124fb68b42 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 6 Sep 2022 09:44:48 +0200 Subject: [PATCH] clutter: Add capability flags for trackpoints and trackballs The detection of these devices is nowadays scattered around using udev. Add these capabilities so that we can move this detection to seats. Part-of: --- clutter/clutter/clutter-enums.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clutter/clutter/clutter-enums.h b/clutter/clutter/clutter-enums.h index d83688491..f69888583 100644 --- a/clutter/clutter/clutter-enums.h +++ b/clutter/clutter/clutter-enums.h @@ -903,6 +903,8 @@ typedef enum /*< prefix=CLUTTER_INPUT_CAPABILITY >*/ CLUTTER_INPUT_CAPABILITY_TOUCH = 1 << 3, CLUTTER_INPUT_CAPABILITY_TABLET_TOOL = 1 << 4, CLUTTER_INPUT_CAPABILITY_TABLET_PAD = 1 << 5, + CLUTTER_INPUT_CAPABILITY_TRACKBALL = 1 << 6, + CLUTTER_INPUT_CAPABILITY_TRACKPOINT = 1 << 7, } ClutterInputCapabilities; /**