diff options
author | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2012-07-13 12:33:09 +0000 |
---|---|---|
committer | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2012-07-13 12:33:09 +0000 |
commit | f66d679b5b221ffd587520d77c4d071fafa74e9c (patch) | |
tree | 64dd6883e3e6166a7c4b3a08bc02566bae91cea8 /sys/dev/usb/ukbd.c | |
parent | b1e16317d3f5d41dc96034cfcb77f29527f08ad0 (diff) |
Add support compose LED on a usb keyboard
ok mpi@, from Alexander Polakov <polachok at gmail dot com>
Diffstat (limited to 'sys/dev/usb/ukbd.c')
-rw-r--r-- | sys/dev/usb/ukbd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/ukbd.c b/sys/dev/usb/ukbd.c index 2a995860874..9e086ee4120 100644 --- a/sys/dev/usb/ukbd.c +++ b/sys/dev/usb/ukbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ukbd.c,v 1.57 2012/01/29 11:04:19 mpi Exp $ */ +/* $OpenBSD: ukbd.c,v 1.58 2012/07/13 12:33:08 shadchin Exp $ */ /* $NetBSD: ukbd.c,v 1.85 2003/03/11 16:44:00 augustss Exp $ */ /* @@ -288,7 +288,8 @@ ukbd_attach(struct device *parent, struct device *self, void *aux) } /* Flash the leds; no real purpose, just shows we're alive. */ - ukbd_set_leds(sc, WSKBD_LED_SCROLL | WSKBD_LED_NUM | WSKBD_LED_CAPS); + ukbd_set_leds(sc, WSKBD_LED_SCROLL | WSKBD_LED_NUM | + WSKBD_LED_CAPS | WSKBD_LED_COMPOSE); usbd_delay_ms(uha->parent->sc_udev, 400); ukbd_set_leds(sc, 0); |