Page MenuHomeFreeBSD

D27767.id81154.diff
No OneTemporary

D27767.id81154.diff

diff --git a/sys/dev/usb/input/wmt.c b/sys/dev/usb/input/wmt.c
--- a/sys/dev/usb/input/wmt.c
+++ b/sys/dev/usb/input/wmt.c
@@ -635,7 +635,7 @@
left_btn = hid_get_data(buf, len, &sc->btn_loc[0]);
if (sc->has_int_button || isset(sc->buttons, 0))
evdev_push_key(sc->evdev, BTN_LEFT,
- int_btn != 0 | left_btn != 0);
+ (int_btn != 0) | (left_btn != 0));
for (btn = 1; btn < sc->max_button; ++btn) {
if (isset(sc->buttons, btn))
evdev_push_key(sc->evdev, BTN_MOUSE + btn,

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 19, 12:32 PM (19 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36934358
Default Alt Text
D27767.id81154.diff (503 B)

Event Timeline