Changeset 1b7dc5e9 in mainline


Ignore:
Timestamp:
2011-05-07T08:59:58Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1c3fcf9, 84b240f
Parents:
c7fbb90
Message:

Fixed autorepeat of keys (#119)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/kbd/kbddev.c

    rc7fbb90 r1b7dc5e9  
    562562                        usb_log_debug2("Key pressed: %d (keycode: %d)\n", key,
    563563                            kbd_dev->keys[i]);
    564                         usb_kbd_push_ev(hid_dev, kbd_dev, KEY_PRESS, key);
    565564                        if (!usb_kbd_is_lock(key)) {
    566565                                usb_kbd_repeat_start(kbd_dev, key);
    567566                        }
     567                        usb_kbd_push_ev(hid_dev, kbd_dev, KEY_PRESS, key);
    568568                } else {
    569569                        // found, nothing happens
Note: See TracChangeset for help on using the changeset viewer.