input : add various input devices by it's capabilities from each environment not...
authordyamy-lee <dyamy.lee@samsung.com>
Fri, 12 Nov 2021 06:25:15 +0000 (15:25 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Wed, 9 Jun 2021 02:42:40 +0000 (11:42 +0900)
Change-Id: I3b54904ad2a86b0d19a63c55dbd8088d63394e44
(cherry picked from commit c2bcdde8af7c16a151b0b38f53f1e5ad128daba5)

src/input/input.c

index d831e3e..6d32d3b 100644 (file)
@@ -91,10 +91,6 @@ _cb_handle_input_device_add(pepper_event_listener_t *listener, pepper_object_t *
        pepper_input_device_t *device = (pepper_input_device_t *)info;
        headless_input_t *hi = (headless_input_t *)data;
 
-       /* temporary : only add keyboard device to a seat */
-       if (!(WL_SEAT_CAPABILITY_KEYBOARD & pepper_input_device_get_caps(device)))
-               return;
-
        PEPPER_TRACE("[%s] input device added.\n", __FUNCTION__);
 
        if (hi->seat)