mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
Compare commits
3 Commits
xf86-input
...
xf86-input
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04003a98a9 | ||
|
|
0443fb430f | ||
|
|
998f52010f |
@@ -22,7 +22,7 @@
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
AC_INIT([xf86-input-evdev],
|
||||
1.99.4,
|
||||
2.0.0,
|
||||
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
|
||||
xf86-input-evdev)
|
||||
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <xf86.h>
|
||||
|
||||
#include "evdev.h"
|
||||
|
||||
enum {
|
||||
|
||||
@@ -941,6 +941,7 @@ EvdevProbe(InputInfoPtr pInfo)
|
||||
|
||||
if (TestBit(BTN_LEFT, key_bitmask)) {
|
||||
xf86Msg(X_INFO, "%s: Found mouse buttons\n", pInfo->name);
|
||||
EvdevMBEmuPreInit(pInfo);
|
||||
pEvdev->flags |= EVDEV_BUTTON_EVENTS;
|
||||
has_buttons = TRUE;
|
||||
}
|
||||
@@ -1025,8 +1026,6 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
|
||||
*/
|
||||
pEvdev->tool = 1;
|
||||
|
||||
EvdevMBEmuPreInit(pInfo);
|
||||
|
||||
device = xf86CheckStrOption(dev->commonOptions, "Path", NULL);
|
||||
if (!device)
|
||||
device = xf86CheckStrOption(dev->commonOptions, "Device", NULL);
|
||||
@@ -1052,6 +1051,7 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
|
||||
/* parse the XKB options during kbd setup */
|
||||
|
||||
if (EvdevProbe(pInfo)) {
|
||||
EvdevMBEmuFinalize(pInfo);
|
||||
xf86DeleteInput(pInfo, 0);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user