b004d06c23
This is a daemon which allows you to emulate middle and right click as well as a mouse wheel. It was originally written for Apple PowerPC laptops with a single button, but can be used on any hardware.
13 lines
484 B
Diff
13 lines
484 B
Diff
Author: <gaudenz@debian.org>
|
|
Description: Pass through key events of modifier keys
|
|
--- a/mouseemu.c
|
|
+++ b/mouseemu.c
|
|
@@ -174,7 +174,7 @@
|
|
/* I think its best not to pass scroll, or experiment with not passing the release if
|
|
* we actually used it for scrolling (but some apps may get stuck?)
|
|
*/
|
|
- if (inp.code != b2_key && inp.code != b3_key && !b2_mod_pressed && !b3_mod_pressed) {
|
|
+ if (inp.code != b2_key && inp.code != b3_key) {
|
|
passthrough(ui_keyb_fd, inp);
|
|
}
|
|
}
|