Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109965968
D27749.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
771 B
Referenced Files
None
Subscribers
None
D27749.diff
View Options
diff --git a/sys/dev/usb/input/ukbd.c b/sys/dev/usb/input/ukbd.c
--- a/sys/dev/usb/input/ukbd.c
+++ b/sys/dev/usb/input/ukbd.c
@@ -389,11 +389,9 @@
(key & KEY_RELEASE) ? "released" : "pressed");
#ifdef EVDEV_SUPPORT
- if (evdev_rcpt_mask & EVDEV_RCPT_HW_KBD && sc->sc_evdev != NULL) {
+ if (evdev_rcpt_mask & EVDEV_RCPT_HW_KBD && sc->sc_evdev != NULL)
evdev_push_event(sc->sc_evdev, EV_KEY,
evdev_hid2key(KEY_INDEX(key)), !(key & KEY_RELEASE));
- evdev_sync(sc->sc_evdev);
- }
#endif
if (sc->sc_inputs < UKBD_IN_BUF_SIZE) {
@@ -559,6 +557,11 @@
}
}
+#ifdef EVDEV_SUPPORT
+ if (evdev_rcpt_mask & EVDEV_RCPT_HW_KBD && sc->sc_evdev != NULL)
+ evdev_sync(sc->sc_evdev);
+#endif
+
/* wakeup keyboard system */
ukbd_event_keyinput(sc);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 12, 8:28 PM (19 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16615954
Default Alt Text
D27749.diff (771 B)
Attached To
Mode
D27749: ukbd(4): Do not serialize evdev key events
Attached
Detach File
Event Timeline
Log In to Comment