Changeset 70a71e5 in mainline for uspace/drv/usbkbd/kbddev.c
- Timestamp:
- 2011-04-01T13:18:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7787dd81, bda06a3
- Parents:
- ad7bb42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbkbd/kbddev.c
rad7bb42 r70a71e5 276 276 // leds |= USB_HID_LED_NUM_LOCK; 277 277 } 278 else { 279 kbd_dev->led_data[i++] = 0; 280 } 278 281 279 282 if ((kbd_dev->mods & KM_CAPS_LOCK) && (i < kbd_dev->led_output_size)) { 280 283 kbd_dev->led_data[i++] = USB_HID_LED_CAPS_LOCK; 281 284 // leds |= USB_HID_LED_CAPS_LOCK; 285 } 286 else { 287 kbd_dev->led_data[i++] = 0; 282 288 } 283 289 … … 286 292 kbd_dev->led_data[i++] = USB_HID_LED_SCROLL_LOCK; 287 293 // leds |= USB_HID_LED_SCROLL_LOCK; 294 } 295 else { 296 kbd_dev->led_data[i++] = 0; 288 297 } 289 298
Note:
See TracChangeset
for help on using the changeset viewer.