summaryrefslogtreecommitdiff
path: root/extra/libevdev/0001-Revert-Drop-some-leftover-deprecated-constants.patch
blob: 250be8505ee7a967ea85e5aa45622e193c364e65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 9ee61912a356bb8c1995cf262428196e5e4f179d Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri, 3 Jan 2014 08:30:04 +1000
Subject: [PATCH libevdev] Revert "Drop some leftover deprecated constants."

This reverts commit a612ee753e8c40d2d1fff6da516d278064e27d86.
---
 libevdev/libevdev.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libevdev/libevdev.c b/libevdev/libevdev.c
index 8a37204..432aeff 100644
--- a/libevdev/libevdev.c
+++ b/libevdev/libevdev.c
@@ -36,6 +36,12 @@
 
 #define MAXEVENTS 64
 
+/* DEPRECATED */
+LIBEVDEV_EXPORT const enum libevdev_read_flag LIBEVDEV_READ_SYNC = LIBEVDEV_READ_FLAG_SYNC;
+LIBEVDEV_EXPORT const enum libevdev_read_flag LIBEVDEV_READ_NORMAL = LIBEVDEV_READ_FLAG_NORMAL;
+LIBEVDEV_EXPORT const enum libevdev_read_flag LIBEVDEV_FORCE_SYNC = LIBEVDEV_READ_FLAG_FORCE_SYNC;
+LIBEVDEV_EXPORT const enum libevdev_read_flag LIBEVDEV_READ_BLOCKING = LIBEVDEV_READ_FLAG_BLOCKING;
+
 static int sync_mt_state(struct libevdev *dev, int create_events);
 
 static int
-- 
1.8.4.2