Compare commits
317 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d46f71c744 | ||
|
|
fa48a97093 | ||
|
|
f74cdffeb4 | ||
|
|
002d51d378 | ||
|
|
140995a228 | ||
|
|
38094a7cc4 | ||
|
|
00ac2e045b | ||
|
|
50e19d0b61 | ||
|
|
5abab2fe82 | ||
|
|
33f4f3ebd7 | ||
|
|
de60b2a048 | ||
|
|
58e71a6895 | ||
|
|
86954d38cd | ||
|
|
879df748c4 | ||
|
|
31bbe71e25 | ||
|
|
d06960eaa2 | ||
|
|
46fb06c084 | ||
|
|
21d9865a91 | ||
|
|
fb6760cd6c | ||
|
|
fb85b1c89c | ||
|
|
225720c01f | ||
|
|
a03c423de4 | ||
|
|
aadcd7507d | ||
|
|
11038cabe3 | ||
|
|
cc59a153ec | ||
|
|
815d9fb80a | ||
|
|
966f3a4aca | ||
|
|
ba22c6ea90 | ||
|
|
ebf6864101 | ||
|
|
af8c3247b4 | ||
|
|
e549107e60 | ||
|
|
acbe31e980 | ||
|
|
0dc838f176 | ||
|
|
e7bd82577e | ||
|
|
37e9aa1136 | ||
|
|
a6cac42be5 | ||
|
|
065e79f93d | ||
|
|
924963edeb | ||
|
|
111d95f603 | ||
|
|
ad65e5bf75 | ||
|
|
0a4f789b30 | ||
|
|
16e60efc53 | ||
|
|
e0608553e9 | ||
|
|
a56a13bff0 | ||
|
|
d19bc244c8 | ||
|
|
c99e2cd00d | ||
|
|
79623357ba | ||
|
|
c1528d9c4a | ||
|
|
6da83b3700 | ||
|
|
a957d5eea7 | ||
|
|
6ab4b03fb4 | ||
|
|
f3b0ff9c2c | ||
|
|
d06b493b1b | ||
|
|
dea0b6e457 | ||
|
|
37d524a149 | ||
|
|
1e06039d1e | ||
|
|
3bb4699393 | ||
|
|
43e178c21d | ||
|
|
f5209a1aa3 | ||
|
|
9209f85170 | ||
|
|
10c346e8ef | ||
|
|
261c6e30a9 | ||
|
|
95cf401502 | ||
|
|
5f9c5d7629 | ||
|
|
3cd4043771 | ||
|
|
42029feb75 | ||
|
|
5b7b9e64dd | ||
|
|
63642f0c69 | ||
|
|
0afce9e8f7 | ||
|
|
cd3d119db9 | ||
|
|
4e8c92d1a6 | ||
|
|
ea1468df91 | ||
|
|
ec6c8d0086 | ||
|
|
bb81853972 | ||
|
|
ce957f5811 | ||
|
|
3a6c0aec2b | ||
|
|
c525038f71 | ||
|
|
8fa94fe023 | ||
|
|
8f00dbe27c | ||
|
|
a8333a4476 | ||
|
|
a32688fb11 | ||
|
|
210b459dcf | ||
|
|
01a6ac088b | ||
|
|
aa4d46a793 | ||
|
|
874bc0eb10 | ||
|
|
7085d627b9 | ||
|
|
e2b899cc63 | ||
|
|
b597484c60 | ||
|
|
303db7dcbb | ||
|
|
d1165ffd8d | ||
|
|
65b20246ba | ||
|
|
7f5c82ce7d | ||
|
|
1a30f78cc4 | ||
|
|
40f47f9381 | ||
|
|
05efae5b02 | ||
|
|
b3e278f6c0 | ||
|
|
2d5c82a8a2 | ||
|
|
3d762402a9 | ||
|
|
b0b7bd9a11 | ||
|
|
c358832c15 | ||
|
|
8bdce90385 | ||
|
|
51e150c06b | ||
|
|
146af17ada | ||
|
|
087fb1210f | ||
|
|
d2fb3d5b28 | ||
|
|
8baca56466 | ||
|
|
bf49b3f44b | ||
|
|
f26839db7a | ||
|
|
0d3f247766 | ||
|
|
0b80907967 | ||
|
|
f9a35416ea | ||
|
|
12ffd8a00f | ||
|
|
a877c718b0 | ||
|
|
20e9109424 | ||
|
|
5a01545f08 | ||
|
|
cd9d18ed85 | ||
|
|
ad6fa2b778 | ||
|
|
a0c4d91a3c | ||
|
|
3519b52402 | ||
|
|
b10e42143d | ||
|
|
cb175af766 | ||
|
|
b1adeff6f4 | ||
|
|
26830ff92d | ||
|
|
5fc2f172d5 | ||
|
|
9e00b5a920 | ||
|
|
7102433213 | ||
|
|
6884ed088b | ||
|
|
16ed7bef68 | ||
|
|
bad9712fc3 | ||
|
|
00f1348602 | ||
|
|
97dbd1e22b |
||
|
|
405e05afdd | ||
|
|
7677320cee | ||
|
|
4b89c91107 | ||
|
|
8ba5655288 | ||
|
|
d2a72ac83f | ||
|
|
0bb2ac11b7 | ||
|
|
247b223c17 | ||
|
|
212148a1a9 | ||
|
|
3c4051318c | ||
|
|
cef6457a00 | ||
|
|
11ff13d496 | ||
|
|
e90a3a52ae | ||
|
|
ce8e6e33fc | ||
|
|
f7a6f4a20f | ||
|
|
18f75835c4 | ||
|
|
53669d8e66 | ||
|
|
eee0356e38 | ||
|
|
85ae930e22 | ||
|
|
398e08b0ed | ||
|
|
c4ac66d12e | ||
|
|
1acd6d12e8 | ||
|
|
7dd7fed381 | ||
|
|
ea254a5f10 | ||
|
|
f11bd4ba52 | ||
|
|
f2700b6bc2 | ||
|
|
ecb3f85092 | ||
|
|
09a826f5ee | ||
|
|
a8a7e75373 | ||
|
|
b4657862bd | ||
|
|
9a10f4b807 | ||
|
|
d99aa73a3c | ||
|
|
1778ef6300 | ||
|
|
b08753422b | ||
|
|
fb24aaa4b5 | ||
|
|
4796492d71 | ||
|
|
2e5d33a53e | ||
|
|
b1b6782406 | ||
|
|
27ee09342e | ||
|
|
4afc4b052f | ||
|
|
60862d0ab5 | ||
|
|
be6c4601ee | ||
|
|
3f8446aaf6 | ||
|
|
c8c113962b | ||
|
|
7ac010a0d4 | ||
|
|
5bdc7cbd58 | ||
|
|
0bb4f2fd9a | ||
|
|
20471d9763 | ||
|
|
9a7d455eba | ||
|
|
16249394c5 | ||
|
|
4f0ce18b85 | ||
|
|
0d90a83365 | ||
|
|
efb5637f85 | ||
|
|
01d21ba8fd | ||
|
|
cdbbf32d3a | ||
|
|
817b4343ff | ||
|
|
555b8e5bfa | ||
|
|
1b06234a8d | ||
|
|
ab9d50a19a | ||
|
|
1f6f6d22ed | ||
|
|
95ca869978 | ||
|
|
317d89f1fa | ||
|
|
e9b5d0d5f0 | ||
|
|
bf0f7f95b7 | ||
|
|
686d624a02 | ||
|
|
2272a06421 | ||
|
|
e057fa6333 | ||
|
|
c3e6f4b553 | ||
|
|
9f62f55614 | ||
|
|
9ceb958d7a | ||
|
|
4e5ee47860 | ||
|
|
fa48f8fad7 | ||
|
|
2a4c3cf30b | ||
|
|
69ba044fa5 | ||
|
|
87e2c32144 | ||
|
|
6f77223bfe | ||
|
|
0ea43b322c | ||
|
|
1c0f18fa34 | ||
|
|
06a61d17a3 | ||
|
|
461d3fee6c | ||
|
|
677508bd23 | ||
|
|
f923c845ce | ||
|
|
544ac75aaf | ||
|
|
9ab2c3940c | ||
|
|
4ce2653357 | ||
|
|
37b99c2ae3 | ||
|
|
b8f82e9737 | ||
|
|
17bf07bf6b | ||
|
|
90301a0306 | ||
|
|
aaa5726f36 | ||
|
|
41496b9261 | ||
|
|
8644d0574a | ||
|
|
5c3e81eb3a | ||
|
|
fe775bd2e0 | ||
|
|
9ddff3b1ac | ||
|
|
2c7e66daa9 | ||
|
|
8a3bde9f61 | ||
|
|
6df9494799 | ||
|
|
a044152ca2 | ||
|
|
3959d485f5 | ||
|
|
26495c0c36 | ||
|
|
7115ec1426 | ||
|
|
c954d59a76 | ||
|
|
7e5cfd3fef | ||
|
|
020e2574ca | ||
|
|
9fe571ae99 | ||
|
|
40762142f0 | ||
|
|
edf33a01f9 | ||
|
|
9fdbf5b426 | ||
|
|
4496bd728e | ||
|
|
89b9f5f74d | ||
|
|
2dacda31f2 | ||
|
|
cc9c39ee9e | ||
|
|
8050fa770a | ||
|
|
8aef13c5a5 | ||
|
|
574d94817f | ||
|
|
6b7c613630 | ||
|
|
6233238d86 | ||
|
|
75fce7f196 | ||
|
|
9f6fadb474 | ||
|
|
6c52c64c45 | ||
|
|
86b46e74c5 | ||
|
|
601a3b6f50 | ||
|
|
6fadeedb9e | ||
|
|
b28d349f94 | ||
|
|
8410ef24e2 | ||
|
|
7b227b778b | ||
|
|
50ab3839fb | ||
|
|
1d67abf083 | ||
|
|
b8504dcd20 | ||
|
|
b7b0b48202 | ||
|
|
c851d38459 | ||
|
|
f7dc5ca778 | ||
|
|
a3190ae794 | ||
|
|
a328b6006a | ||
|
|
239559a7c5 | ||
|
|
11f65b4c02 | ||
|
|
b73b096910 | ||
|
|
6ffe302aac | ||
|
|
0a2ad2a85a | ||
|
|
b62b76138c | ||
|
|
b9843a4adc | ||
|
|
83d26eb5cf | ||
|
|
f214e24e93 | ||
|
|
6af3f5842b | ||
|
|
5d1af9d382 | ||
|
|
3abc616915 | ||
|
|
014ea42f09 | ||
|
|
78cb319ab7 | ||
|
|
d704a72b3d | ||
|
|
a40d43da67 | ||
|
|
8ed156bd58 | ||
|
|
f91e7233fc | ||
|
|
b66bfe236f | ||
|
|
69f9783d3c | ||
|
|
7eb3526873 | ||
|
|
a50ef2a58c | ||
|
|
40ac43332d | ||
|
|
911bbb8421 | ||
|
|
5003f6ebc2 | ||
|
|
9d9abc12d4 | ||
|
|
be67c6dad6 | ||
|
|
4d3b8a54fe | ||
|
|
bdcf52556f | ||
|
|
9f8c03f29f | ||
|
|
7427601864 | ||
|
|
8a91c2aa84 | ||
|
|
1a6d239ed3 | ||
|
|
fd5a322727 | ||
|
|
9418372b5d | ||
|
|
3a8be7cb5d | ||
|
|
089f1ffb69 | ||
|
|
c2dbcdf9a2 | ||
|
|
1bd3c48c98 | ||
|
|
c0c551f158 | ||
|
|
f1e2a7fd36 | ||
|
|
65a366de89 | ||
|
|
3164021ea1 | ||
|
|
f8ec5f9c7b | ||
|
|
f974be87a0 | ||
|
|
48d863fbb3 | ||
|
|
ff3b4cb46c | ||
|
|
2b6aa58f36 | ||
|
|
9c9d37a2ec | ||
|
|
6c5096bae5 | ||
|
|
bb75bfec12 | ||
|
|
e635b1e239 |
4 changed files with 978 additions and 118 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
|
@ -1,8 +1 @@
|
||||||
/libinput-0.1.0.tar.xz
|
/libinput-*.tar.bz2
|
||||||
/libinput-0.2.0.tar.xz
|
|
||||||
/libinput-0.4.0.tar.xz
|
|
||||||
/libinput-0.5.0.tar.xz
|
|
||||||
/libinput-0.6.0.tar.xz
|
|
||||||
/libinput-20141124.tar.xz
|
|
||||||
/libinput-0.7.0.tar.xz
|
|
||||||
/libinput-20141211.tar.xz
|
|
||||||
|
|
|
||||||
|
|
@ -1,74 +0,0 @@
|
||||||
From 5f848ea35757dde7847d11464a7fec106a4a30f9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Hans de Goede <hdegoede@redhat.com>
|
|
||||||
Date: Wed, 21 Jan 2015 12:04:48 +0100
|
|
||||||
Subject: [PATCH libinput] evdev: Be more careful about what we consider a
|
|
||||||
joystick
|
|
||||||
|
|
||||||
After switching my main workstation over to using xf86-input-libinput, I
|
|
||||||
noticed that the multi-media keys like play/pause on my keyboard no longer
|
|
||||||
worked.
|
|
||||||
|
|
||||||
It turns out that the second hid interface on my keyboard which has the
|
|
||||||
multimedia-keys, also declares having: BTN_BASE6 and BTN_MODE which both
|
|
||||||
fell into the range we were using to test for something being a joystick.
|
|
||||||
|
|
||||||
The commit makes our joystick test mode strict, restoring functionality
|
|
||||||
of the multi-media keys on the keyboard in question.
|
|
||||||
|
|
||||||
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
||||||
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
||||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
||||||
(cherry picked from commit 0afd0b792fb9c244442ac4532ceeaa9565dd1928)
|
|
||||||
---
|
|
||||||
src/evdev.c | 25 ++++++++++++++++---------
|
|
||||||
1 file changed, 16 insertions(+), 9 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/evdev.c b/src/evdev.c
|
|
||||||
index dce035a..7ea7cd6 100644
|
|
||||||
--- a/src/evdev.c
|
|
||||||
+++ b/src/evdev.c
|
|
||||||
@@ -1283,7 +1283,7 @@ evdev_configure_device(struct evdev_device *device)
|
|
||||||
struct libevdev *evdev = device->evdev;
|
|
||||||
const struct input_absinfo *absinfo;
|
|
||||||
int has_abs, has_rel, has_mt;
|
|
||||||
- int has_button, has_keyboard, has_touch;
|
|
||||||
+ int has_button, has_keyboard, has_touch, has_joystick_button;
|
|
||||||
struct mt_slot *slots;
|
|
||||||
int num_slots;
|
|
||||||
int active_slot;
|
|
||||||
@@ -1295,17 +1295,24 @@ evdev_configure_device(struct evdev_device *device)
|
|
||||||
has_abs = 0;
|
|
||||||
has_mt = 0;
|
|
||||||
has_button = 0;
|
|
||||||
+ has_joystick_button = 0;
|
|
||||||
has_keyboard = 0;
|
|
||||||
has_touch = 0;
|
|
||||||
|
|
||||||
- for (i = BTN_JOYSTICK; i < BTN_DIGI; i++) {
|
|
||||||
- if (libevdev_has_event_code(evdev, EV_KEY, i)) {
|
|
||||||
- log_info(libinput,
|
|
||||||
- "input device '%s', %s is a joystick, ignoring\n",
|
|
||||||
- device->devname, devnode);
|
|
||||||
- return -1;
|
|
||||||
- }
|
|
||||||
- }
|
|
||||||
+ for (i = BTN_JOYSTICK; i <= BTN_PINKIE; i++)
|
|
||||||
+ if (libevdev_has_event_code(evdev, EV_KEY, i))
|
|
||||||
+ has_joystick_button = 1;
|
|
||||||
+
|
|
||||||
+ for (i = BTN_GAMEPAD; i <= BTN_TR2; i++)
|
|
||||||
+ if (libevdev_has_event_code(evdev, EV_KEY, i))
|
|
||||||
+ has_joystick_button = 1;
|
|
||||||
+
|
|
||||||
+ if (has_joystick_button) {
|
|
||||||
+ log_info(libinput,
|
|
||||||
+ "input device '%s', %s is a joystick, ignoring\n",
|
|
||||||
+ device->devname, devnode);
|
|
||||||
+ return -1;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
if (libevdev_has_event_type(evdev, EV_ABS)) {
|
|
||||||
|
|
||||||
--
|
|
||||||
2.1.0
|
|
||||||
|
|
||||||
1008
libinput.spec
1008
libinput.spec
File diff suppressed because it is too large
Load diff
5
sources
5
sources
|
|
@ -1,4 +1 @@
|
||||||
3afaf9f66d8796323a79edb879c10ba3 libinput-0.6.0.tar.xz
|
SHA512 (libinput-1.30.1.tar.bz2) = 6d9bb5653dfeb0e30c64e92f8146a8908233162ef39f89114f619605b7f0de3f9e0f344412d91c809d3c1dc3d4b836a5709373a80191484db3c6d0a8f69c4f82
|
||||||
f63a656eb93117da43302566df0de874 libinput-20141124.tar.xz
|
|
||||||
381b61396de28c12716ef7a5475fea50 libinput-0.7.0.tar.xz
|
|
||||||
e632f825162535bac32e9087d8281c7e libinput-20141211.tar.xz
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue