Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
---
include/Makefile.in | 1 +
include/tpcshrd.h | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
create mode 100644 include/tpcshrd.h
diff --git a/include/Makefile.in b/include/Makefile.in
index 4b50adeacd..94dd8a0425 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -633,6 +633,7 @@ SOURCES = \
tlogstg.idl \
tmschema.h \
tom.idl \
+ tpcshrd.h \
traffic.h \
transact.idl \…
[View More]
twain.h \
diff --git a/include/tpcshrd.h b/include/tpcshrd.h
new file mode 100644
index 0000000000..f1689a0030
--- /dev/null
+++ b/include/tpcshrd.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2019 Alistair Leslie-Hughes
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#ifndef __WISPSHRD_H
+#define __WISPSHRD_H
+
+#define WM_TABLET_DEFBASE 0x02c0
+#define WM_TABLET_MAXOFFSET 0x20
+#define WM_TABLET_ADDED (WM_TABLET_DEFBASE + 8)
+#define WM_TABLET_DELETED (WM_TABLET_DEFBASE + 9)
+#define WM_TABLET_FLICK (WM_TABLET_DEFBASE + 11)
+#define WM_TABLET_QUERYSYSTEMGESTURESTATUS (WM_TABLET_DEFBASE + 12)
+
+
+#endif /* __WISPSHRD_H */
--
2.17.1
[View Less]
Derek Lesho <dereklesho52(a)gmail.com> wrote:
>Hello, attached is a patch that adds true raw-input support for mouse
>movements, bypassing the desktop's sensitivity and mouse acceleration
>settings.
Your patchset was included in the lutris-4.12.1 build of Wine, and
presumably responsible for the two changes I noticed immediately:
1. Bug 47457 (gun jam in Overwatch) seems to be fixed. Nice!
2. Xmodmap button mappings are ignored, so my mouse clicks in Overwatch now
produce …
[View More]results that are both unexpected and inconsistent with every other
program on my desktop*. Is there a way to selectively disable your raw
input feature, or another way to remap buttons, for programs that need
consistency with the rest of the desktop more than they need true raw input?
*My personal use case: The Logitech G600 programmable mouse (oddly) doesn't
allow its middle button to be programmed as middle click. I therefore
program the middle button to right click, the right button to middle click,
and use Xmodmap to swap them, thereby getting sane behavior. I expect other
people use Xmodmap button mappings for other reasons, so the issue here is
probably a general one that out to have a solution.
[View Less]