mirror of
https://github.com/openharmony/third_party_libevdev.git
synced 2026-07-19 19:23:30 -04:00
libevdev update
Signed-off-by: zhengyaozong <zhengyaozong@h-partners.com>
This commit is contained in:
@@ -10,9 +10,6 @@ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
diff --git a/include/linux/freebsd/input-event-codes.h b/include/linux/freebsd/input-event-codes.h
|
||||
index c5713e4..c514cb0 100644
|
||||
--- a/include/linux/freebsd/input-event-codes.h
|
||||
+++ b/include/linux/freebsd/input-event-codes.h
|
||||
@@ -519,6 +519,7 @@
|
||||
@@ -57,8 +54,7 @@ index c5713e4..c514cb0 100644
|
||||
#define BTN_TRIGGER_HAPPY 0x2c0
|
||||
#define BTN_TRIGGER_HAPPY1 0x2c0
|
||||
#define BTN_TRIGGER_HAPPY2 0x2c1
|
||||
diff --git a/include/linux/linux/input-event-codes.h b/include/linux/linux/input-event-codes.h
|
||||
index 539acc9..acc4574 100644
|
||||
|
||||
--- a/include/linux/linux/input-event-codes.h
|
||||
+++ b/include/linux/linux/input-event-codes.h
|
||||
@@ -519,6 +519,7 @@
|
||||
@@ -103,8 +99,7 @@ index 539acc9..acc4574 100644
|
||||
#define BTN_TRIGGER_HAPPY 0x2c0
|
||||
#define BTN_TRIGGER_HAPPY1 0x2c0
|
||||
#define BTN_TRIGGER_HAPPY2 0x2c1
|
||||
diff --git a/include/linux/linux/input.h b/include/linux/linux/input.h
|
||||
index 7f37e6e..fff30fa 100644
|
||||
|
||||
--- a/include/linux/linux/input.h
|
||||
+++ b/include/linux/linux/input.h
|
||||
@@ -6,14 +6,16 @@
|
||||
@@ -140,8 +135,7 @@ index 7f37e6e..fff30fa 100644
|
||||
|
||||
-#endif /* _INPUT_H */
|
||||
+#endif /* _UAPI_INPUT_H */
|
||||
diff --git a/libevdev/libevdev-util.h b/libevdev/libevdev-util.h
|
||||
index ed85c95..cab8067 100644
|
||||
|
||||
--- a/libevdev/libevdev-util.h
|
||||
+++ b/libevdev/libevdev-util.h
|
||||
@@ -42,19 +42,19 @@ startswith(const char *str, size_t len, const char *prefix, size_t plen)
|
||||
@@ -167,8 +161,7 @@ index ed85c95..cab8067 100644
|
||||
}
|
||||
|
||||
static inline void
|
||||
diff --git a/libevdev/libevdev.c b/libevdev/libevdev.c
|
||||
index 6931177..3eefc87 100644
|
||||
|
||||
--- a/libevdev/libevdev.c
|
||||
+++ b/libevdev/libevdev.c
|
||||
@@ -805,23 +805,34 @@ push_mt_sync_events(struct libevdev *dev,
|
||||
|
||||
Reference in New Issue
Block a user